MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
findTextIdInPage ($pageId, $textId) | |
getRevTextMap ($pageId) | |
isUnbrokenStub ($stub, $secondaryRow) | |
This is based on part of HistoryBlobStub::getText(). | |
waitForSlaves () | |
Public Attributes | |
$batchSize = 10000 | |
$mapCache = array() | |
$mapCacheSize = 0 | |
$maxMapCacheSize = 1000000 |
Definition at line 26 of file fixBug20757.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 32 of file fixBug20757.php.
References Maintenance\addOption().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 39 of file fixBug20757.php.
References $dbr, $res, $url, ExternalStore\fetchFromURL(), findTextIdInPage(), Maintenance\getOption(), isUnbrokenStub(), print, waitForSlaves(), and wfGetDB().
FixBug20757::findTextIdInPage | ( | $ | pageId, |
$ | textId | ||
) |
Definition at line 268 of file fixBug20757.php.
References getRevTextMap().
Referenced by execute().
FixBug20757::getRevTextMap | ( | $ | pageId | ) |
Definition at line 277 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.
$stub | |
$secondaryRow |
Definition at line 309 of file fixBug20757.php.
Referenced by execute().
Definition at line 259 of file fixBug20757.php.
References wfWaitForSlaves().
Referenced by execute().
FixBug20757::$batchSize = 10000 |
Definition at line 27 of file fixBug20757.php.
FixBug20757::$mapCache = array() |
Definition at line 28 of file fixBug20757.php.
FixBug20757::$mapCacheSize = 0 |
Definition at line 29 of file fixBug20757.php.
FixBug20757::$maxMapCacheSize = 1000000 |
Definition at line 30 of file fixBug20757.php.