MediaWiki  REL1_22
FixBug20757 Class Reference

Maintenance script to fix bug 20757. More...

Inheritance diagram for FixBug20757:
Collaboration diagram for FixBug20757:

List of all members.

Public Member Functions

 __construct ()
 execute ()
 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

Detailed Description

Maintenance script to fix bug 20757.

Definition at line 31 of file fixBug20757.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 37 of file fixBug20757.php.

References Maintenance\addOption().


Member Function Documentation

FixBug20757::findTextIdInPage ( pageId,
textId 
)

Definition at line 273 of file fixBug20757.php.

References getRevTextMap().

Referenced by execute().

Definition at line 282 of file fixBug20757.php.

References $dbr, $key, $res, array(), as, key, 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.

Parameters:
$stub
$secondaryRow
Returns:
bool

Definition at line 314 of file fixBug20757.php.

References $flags, $path, and list.

Referenced by execute().

Definition at line 264 of file fixBug20757.php.

References wfWaitForSlaves().

Referenced by execute().


Member Data Documentation

FixBug20757::$batchSize = 10000

Definition at line 32 of file fixBug20757.php.

FixBug20757::$mapCache = array()

Definition at line 33 of file fixBug20757.php.

FixBug20757::$mapCacheSize = 0

Definition at line 34 of file fixBug20757.php.

FixBug20757::$maxMapCacheSize = 1000000

Definition at line 35 of file fixBug20757.php.


The documentation for this class was generated from the following file: