MediaWiki
REL1_19
|
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' |
Definition at line 30 of file preprocessDump.php.
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().
Reimplemented from DumpIterator.
Definition at line 51 of file preprocessDump.php.
References $wgParser, $wgParserConf, $wgPreprocessorCacheThreshold, Maintenance\getOption(), and Maintenance\hasOption().
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
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.
PreprocessDump::processRevision | ( | $ | rev | ) |
Callback function for each revision, preprocessToObj()
$rev | Revision |
Reimplemented from DumpIterator.
Definition at line 74 of file preprocessDump.php.
References Maintenance\error().
PreprocessDump::$mPPNodeCount = 0 |
Definition at line 34 of file preprocessDump.php.
PreprocessDump::$mTitle = 'PreprocessDump' |
Definition at line 33 of file preprocessDump.php.