MediaWiki
REL1_22
|
Base class for interating over a dump. More...
Public Member Functions | |
__construct () | |
checkOptions () | |
conclusions () | |
execute () | |
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 |
Base class for interating over a dump.
Definition at line 36 of file dumpIterator.php.
Reimplemented from Maintenance.
Reimplemented in SearchDump, PreprocessDump, and CompareParsers.
Definition at line 41 of file dumpIterator.php.
References Maintenance\addOption().
Reimplemented in CompareParsers, and PreprocessDump.
Definition at line 139 of file dumpIterator.php.
Referenced by execute().
Reimplemented in CompareParsers.
Definition at line 144 of file dumpIterator.php.
Referenced by execute().
static DumpIterator::disableInterwikis | ( | $ | prefix, |
&$ | data | ||
) | [static] |
Definition at line 105 of file dumpIterator.php.
Reimplemented from Maintenance.
Definition at line 49 of file dumpIterator.php.
References $source, array(), checkOptions(), conclusions(), Maintenance\error(), from, Maintenance\getOption(), Maintenance\getStdin(), handleRevision(), Maintenance\hasOption(), Title\newFromText(), and WikiRevision\setText().
Handle some last-minute setup here.
Reimplemented from Maintenance.
Definition at line 94 of file dumpIterator.php.
References $wgHooks, Maintenance\DB_NONE, Maintenance\getDbType(), and global.
DumpIterator::handleRevision | ( | $ | rev | ) |
Callback function for each revision, child classes should override processRevision instead.
$rev | Revision |
Definition at line 117 of file dumpIterator.php.
References $rev, $title, Maintenance\error(), from, 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 38 of file dumpIterator.php.
DumpIterator::$startTime [private] |
Definition at line 39 of file dumpIterator.php.