MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
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 |
Definition at line 32 of file compareParsers.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from DumpIterator.
Definition at line 36 of file compareParsers.php.
References Maintenance\addOption().
Reimplemented from DumpIterator.
Definition at line 50 of file compareParsers.php.
References $user, $wgDiff, $wgUseTidy, Maintenance\error(), Maintenance\getOption(), Maintenance\hasOption(), and ParserOptions\newFromUser().
static CompareParsers::checkParserLocally | ( | $ | parserName | ) | [static, private] |
Definition at line 131 of file compareParsers.php.
References $wgAutoloadClasses.
Referenced by processRevision().
Reimplemented from DumpIterator.
Definition at line 81 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 98 of file compareParsers.php.
References $title, checkParserLocally(), Maintenance\error(), Maintenance\getOption(), Maintenance\output(), stripParameters(), and wfDiff().
CompareParsers::stripParameters | ( | $ | text | ) |
Definition at line 87 of file compareParsers.php.
Referenced by processRevision().
CompareParsers::$count = 0 [private] |
Reimplemented from DumpIterator.
Definition at line 34 of file compareParsers.php.