Go to the source code of this file.
Functions | |
| refreshLinks ($start, $newOnly=false, $maxLag=false, $end=0, $redirectsOnly=false, $oldRedirectsOnly=false) | |
| fixRedirect ($id) | |
| fixLinksFromArticle ($id) | |
| deleteLinksFromNonexistent ($maxLag=0, $batchSize=100) | |
Definition in file refreshLinks.inc.
| deleteLinksFromNonexistent | ( | $ | maxLag = 0, |
|
| $ | batchSize = 100 | |||
| ) |
Definition at line 148 of file refreshLinks.inc.
References $batchSize, $counter, $dbr, $dbw, $lb, $maxLag, $row, print, wfGetDB(), wfGetLBFactory(), and wfWaitForSlaves().
| fixLinksFromArticle | ( | $ | id | ) |
Definition at line 113 of file refreshLinks.inc.
References $dbw, $options, $revision, $wgParser, $wgTitle, Title::newFromID(), Revision::newFromTitle(), LinkCache::singleton(), and wfGetDB().
Referenced by refreshLinks().
| fixRedirect | ( | $ | id | ) |
Definition at line 94 of file refreshLinks.inc.
References $dbw, $wgArticle, $wgTitle, Title::newFromID(), and wfGetDB().
Referenced by refreshLinks().
| refreshLinks | ( | $ | start, | |
| $ | newOnly = false, |
|||
| $ | maxLag = false, |
|||
| $ | end = 0, |
|||
| $ | redirectsOnly = false, |
|||
| $ | oldRedirectsOnly = false | |||
| ) |
Definition at line 8 of file refreshLinks.inc.
References $dbr, $end, $fname, $i, $maxLag, $reportingInterval, $res, $row, $start, $wgParser, $wgUser, $wgUseTidy, fixLinksFromArticle(), fixRedirect(), print, wfGetDB(), and wfWaitForSlaves().
1.5.9