MediaWiki master
|
Base class for iterating over a dump. More...
Inherits Maintenance.
Inherited by CompareParsers, and SearchDump.
Public Member Functions | |
__construct () | |
checkOptions () | |
Stub function for processing additional options. | |
conclusions () | |
Stub function for giving data about what was computed. | |
execute () | |
finalSetup (SettingsBuilder $settingsBuilder) | |
handleRevision ( $rev) | |
Callback function for each revision, child classes should override processRevision instead. | |
processRevision (WikiRevision $rev) | |
Core function which does whatever the maintenance script is designed to do. | |
Static Public Member Functions | |
static | disableInterwikis ( $prefix, &$data) |
Base class for iterating over a dump.
Definition at line 46 of file dumpIterator.php.
DumpIterator::__construct | ( | ) |
Reimplemented in CompareParsers, and SearchDump.
Definition at line 54 of file dumpIterator.php.
DumpIterator::checkOptions | ( | ) |
Stub function for processing additional options.
Reimplemented in CompareParsers.
Definition at line 177 of file dumpIterator.php.
Referenced by execute().
DumpIterator::conclusions | ( | ) |
Stub function for giving data about what was computed.
Reimplemented in CompareParsers.
Definition at line 183 of file dumpIterator.php.
Referenced by execute().
|
static |
Definition at line 140 of file dumpIterator.php.
DumpIterator::execute | ( | ) |
Definition at line 62 of file dumpIterator.php.
References $params, $source, checkOptions(), conclusions(), handleRevision(), and wfMessage().
DumpIterator::finalSetup | ( | SettingsBuilder | $settingsBuilder | ) |
Definition at line 123 of file dumpIterator.php.
References $wgHooks, and MediaWiki\Settings\SettingsBuilder\putConfigValues().
DumpIterator::handleRevision | ( | $rev | ) |
Callback function for each revision, child classes should override processRevision instead.
WikiRevision | $rev |
Definition at line 152 of file dumpIterator.php.
References processRevision().
Referenced by execute().
|
abstract |
Core function which does whatever the maintenance script is designed to do.
WikiRevision | $rev |
Reimplemented in CompareParsers, and SearchDump.
Referenced by handleRevision().