MediaWiki
REL1_22
|
Maintenance script to take page text out of an XML dump file and render basic HTML out to files. More...
Public Member Functions | |
__construct () | |
checkOptions () | |
conclusions () | |
processRevision ($rev) | |
Callback function for each revision, parse with both parsers and compare. | |
stripParameters ($text) | |
Static Private Member Functions | |
static | checkParserLocally ($parserName) |
Private Attributes | |
$count = 0 |
Maintenance script to take page text out of an XML dump file and render basic HTML out to files.
Definition at line 39 of file compareParsers.php.
Reimplemented from DumpIterator.
Definition at line 43 of file compareParsers.php.
References Maintenance\addOption().
Reimplemented from DumpIterator.
Definition at line 57 of file compareParsers.php.
References $user, Maintenance\error(), Maintenance\getOption(), global, Maintenance\hasOption(), ParserOptions\newFromUser(), options(), and User.
static CompareParsers::checkParserLocally | ( | $ | parserName | ) | [static, private] |
Definition at line 148 of file compareParsers.php.
References $wgAutoloadClasses, and global.
Referenced by processRevision().
Reimplemented from DumpIterator.
Definition at line 88 of file compareParsers.php.
References Maintenance\error(), and Maintenance\output().
CompareParsers::processRevision | ( | $ | rev | ) |
Callback function for each revision, parse with both parsers and compare.
$rev | Revision |
Reimplemented from DumpIterator.
Definition at line 106 of file compareParsers.php.
References $rev, $title, checkParserLocally(), Maintenance\error(), Maintenance\getOption(), options(), Maintenance\output(), stripParameters(), and wfDiff().
CompareParsers::stripParameters | ( | $ | text | ) |
Definition at line 95 of file compareParsers.php.
Referenced by processRevision().
CompareParsers::$count = 0 [private] |
Reimplemented from DumpIterator.
Definition at line 41 of file compareParsers.php.