MediaWiki  REL1_20
FixBug20757 Class Reference
Inheritance diagram for FixBug20757:
Collaboration diagram for FixBug20757:

List of all members.

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

Detailed Description

Definition at line 26 of file fixBug20757.php.


Constructor & Destructor Documentation

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().


Member Function Documentation

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().

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.

Parameters:
$stub
$secondaryRow
Returns:
bool

Definition at line 309 of file fixBug20757.php.

References $path, and $url.

Referenced by execute().

Definition at line 259 of file fixBug20757.php.

References wfWaitForSlaves().

Referenced by execute().


Member Data Documentation

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.


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