MediaWiki  REL1_19
PreprocessDump Class Reference
Inheritance diagram for PreprocessDump:
Collaboration diagram for PreprocessDump:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 checkOptions ()
 getDbType ()
 Does the script need different DB access? By default, we give Maintenance scripts normal rights to the DB.
 getStripList ()
 processRevision ($rev)
 Callback function for each revision, preprocessToObj()

Public Attributes

 $mPPNodeCount = 0
 $mTitle = 'PreprocessDump'

Detailed Description

Definition at line 30 of file preprocessDump.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from DumpIterator.

Definition at line 41 of file preprocessDump.php.

References Maintenance\addOption().

Here is the call graph for this function:


Member Function Documentation

Reimplemented from DumpIterator.

Definition at line 51 of file preprocessDump.php.

References $wgParser, $wgParserConf, $wgPreprocessorCacheThreshold, Maintenance\getOption(), and Maintenance\hasOption().

Here is the call graph for this function:

Does the script need different DB access? By default, we give Maintenance scripts normal rights to the DB.

Sometimes, a script needs admin rights access for a reason and sometimes they want no access. Subclasses should override and return one of the following values, as needed: Maintenance::DB_NONE - For no DB access at all Maintenance::DB_STD - For normal DB access, default Maintenance::DB_ADMIN - For admin DB access

Returns:
Integer

Reimplemented from Maintenance.

Definition at line 47 of file preprocessDump.php.

References Maintenance\DB_NONE.

Definition at line 36 of file preprocessDump.php.

References $wgParser.

Callback function for each revision, preprocessToObj()

Parameters:
$revRevision

Reimplemented from DumpIterator.

Definition at line 74 of file preprocessDump.php.

References Maintenance\error().

Here is the call graph for this function:


Member Data Documentation

PreprocessDump::$mPPNodeCount = 0

Definition at line 34 of file preprocessDump.php.

PreprocessDump::$mTitle = 'PreprocessDump'

Definition at line 33 of file preprocessDump.php.


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