MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
checkOptions () | |
conclusions () | |
execute () | |
Do the actual work. | |
finalSetup () | |
Handle some last-minute setup here. | |
handleRevision ($rev) | |
Callback function for each revision, child classes should override processRevision instead. | |
processRevision ($rev) | |
Static Public Member Functions | |
static | disableInterwikis ($prefix, &$data) |
Private Attributes | |
$count = 0 | |
$startTime |
Definition at line 30 of file dumpIterator.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Reimplemented in SearchDump, PreprocessDump, and CompareParsers.
Definition at line 35 of file dumpIterator.php.
References Maintenance\addOption().
Reimplemented in PreprocessDump, and CompareParsers.
Definition at line 131 of file dumpIterator.php.
Referenced by execute().
Reimplemented in CompareParsers.
Definition at line 136 of file dumpIterator.php.
Referenced by execute().
static DumpIterator::disableInterwikis | ( | $ | prefix, |
&$ | data | ||
) | [static] |
Definition at line 98 of file dumpIterator.php.
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 43 of file dumpIterator.php.
References checkOptions(), conclusions(), Maintenance\error(), Maintenance\getOption(), Maintenance\getStdin(), handleRevision(), Maintenance\hasOption(), Title\newFromText(), WikiRevision\setText(), and wfTime().
Handle some last-minute setup here.
Reimplemented from Maintenance.
Definition at line 87 of file dumpIterator.php.
References $wgHooks, $wgLocalisationCacheConf, $wgUseDatabaseMessages, Maintenance\DB_NONE, and Maintenance\getDbType().
DumpIterator::handleRevision | ( | $ | rev | ) |
Callback function for each revision, child classes should override processRevision instead.
$rev | Revision |
Definition at line 110 of file dumpIterator.php.
References $title, Maintenance\error(), Maintenance\output(), and processRevision().
Referenced by execute().
DumpIterator::processRevision | ( | $ | rev | ) | [abstract] |
Reimplemented in SearchDump, CompareParsers, and PreprocessDump.
Referenced by handleRevision().
DumpIterator::$count = 0 [private] |
Reimplemented in CompareParsers.
Definition at line 32 of file dumpIterator.php.
DumpIterator::$startTime [private] |
Definition at line 33 of file dumpIterator.php.