MediaWiki master
|
Maintenance script to take page text out of an XML dump file and render basic HTML out to files. More...
Inherits DumpIterator.
Public Member Functions | |
__construct () | |
checkOptions () | |
Stub function for processing additional options. | |
conclusions () | |
Stub function for giving data about what was computed. | |
processRevision (WikiRevision $rev) | |
Callback function for each revision, parse with both parsers and compare. | |
Public Member Functions inherited from DumpIterator | |
execute () | |
finalSetup (SettingsBuilder $settingsBuilder) | |
handleRevision ( $rev) | |
Callback function for each revision, child classes should override processRevision instead. | |
Additional Inherited Members | |
Static Public Member Functions inherited from DumpIterator | |
static | disableInterwikis ( $prefix, &$data) |
Maintenance script to take page text out of an XML dump file and render basic HTML out to files.
Definition at line 47 of file compareParsers.php.
CompareParsers::__construct | ( | ) |
Reimplemented from DumpIterator.
Definition at line 64 of file compareParsers.php.
CompareParsers::checkOptions | ( | ) |
Stub function for processing additional options.
Reimplemented from DumpIterator.
Definition at line 96 of file compareParsers.php.
References $wgDiff.
CompareParsers::conclusions | ( | ) |
Stub function for giving data about what was computed.
Reimplemented from DumpIterator.
Definition at line 119 of file compareParsers.php.
CompareParsers::processRevision | ( | WikiRevision | $rev | ) |
Callback function for each revision, parse with both parsers and compare.
WikiRevision | $rev |
Reimplemented from DumpIterator.
Definition at line 138 of file compareParsers.php.
References CONTENT_MODEL_WIKITEXT, WikiRevision\getContent(), and WikiRevision\getTitle().