MediaWiki  REL1_22
CompareParsers Class Reference

Maintenance script to take page text out of an XML dump file and render basic HTML out to files. More...

Inheritance diagram for CompareParsers:
Collaboration diagram for CompareParsers:

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

Reimplemented from DumpIterator.

Definition at line 43 of file compareParsers.php.

References Maintenance\addOption().


Member Function Documentation

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().

Callback function for each revision, parse with both parsers and compare.

Parameters:
$revRevision

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().

Definition at line 95 of file compareParsers.php.

Referenced by processRevision().


Member Data Documentation

CompareParsers::$count = 0 [private]

Reimplemented from DumpIterator.

Definition at line 41 of file compareParsers.php.


The documentation for this class was generated from the following file: