Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
waitForSlaves () | |
findTextIdInPage ($pageId, $textId) | |
getRevTextMap ($pageId) | |
isUnbrokenStub ($stub, $secondaryRow) | |
This is based on part of HistoryBlobStub::getText(). | |
Public Attributes | |
$batchSize = 10000 | |
$mapCache = array() | |
$mapCacheSize = 0 | |
$maxMapCacheSize = 1000000 |
Definition at line 5 of file fixBug20757.php.
FixBug20757::__construct | ( | ) |
Default constructor.
Children should call this if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 11 of file fixBug20757.php.
References Maintenance::addOption().
FixBug20757::execute | ( | ) |
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 18 of file fixBug20757.php.
References $dbr, $dbw, $res, $startId, $url, ExternalStore::fetchFromURL(), findTextIdInPage(), Maintenance::getOption(), isUnbrokenStub(), print, waitForSlaves(), and wfGetDB().
FixBug20757::findTextIdInPage | ( | $ | pageId, | |
$ | textId | |||
) |
Definition at line 238 of file fixBug20757.php.
References getRevTextMap().
Referenced by execute().
FixBug20757::getRevTextMap | ( | $ | pageId | ) |
Definition at line 247 of file fixBug20757.php.
References $dbr, $res, and wfGetDB().
Referenced by findTextIdInPage().
FixBug20757::isUnbrokenStub | ( | $ | stub, | |
$ | secondaryRow | |||
) |
This is based on part of HistoryBlobStub::getText().
Determine if the text can be retrieved from the row in the normal way.
Definition at line 276 of file fixBug20757.php.
Referenced by execute().
FixBug20757::waitForSlaves | ( | ) |
Definition at line 229 of file fixBug20757.php.
References wfWaitForSlaves().
Referenced by execute().
FixBug20757::$batchSize = 10000 |
Definition at line 6 of file fixBug20757.php.
FixBug20757::$mapCache = array() |
Definition at line 7 of file fixBug20757.php.
FixBug20757::$mapCacheSize = 0 |
Definition at line 8 of file fixBug20757.php.
FixBug20757::$maxMapCacheSize = 1000000 |
Definition at line 9 of file fixBug20757.php.