MediaWiki
REL1_22
|
Maintenance script that takes page text out of an XML dump file and preprocesses it to obj. More...
Public Member Functions | |
__construct () | |
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' |
Maintenance script that takes page text out of an XML dump file and preprocesses it to obj.
Definition at line 36 of file preprocessDump.php.
Reimplemented from DumpIterator.
Definition at line 47 of file preprocessDump.php.
References Maintenance\addOption().
Reimplemented from DumpIterator.
Definition at line 57 of file preprocessDump.php.
References $name, $wgParser, Maintenance\getOption(), global, 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 53 of file preprocessDump.php.
References Maintenance\DB_NONE.
Definition at line 42 of file preprocessDump.php.
PreprocessDump::processRevision | ( | $ | rev | ) |
Callback function for each revision, preprocessToObj()
$rev | Revision |
Reimplemented from DumpIterator.
Definition at line 80 of file preprocessDump.php.
References $rev, Maintenance\error(), and Revision\RAW.
PreprocessDump::$mPPNodeCount = 0 |
Definition at line 40 of file preprocessDump.php.
PreprocessDump::$mTitle = 'PreprocessDump' |
Definition at line 39 of file preprocessDump.php.