MediaWiki  REL1_19
CompareParsers Class Reference
Inheritance diagram for CompareParsers:
Collaboration diagram for CompareParsers:

List of all members.

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

Detailed Description

Definition at line 32 of file compareParsers.php.


Constructor & Destructor Documentation

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

Here is the call graph for this function:


Member Function Documentation

Reimplemented from DumpIterator.

Definition at line 50 of file compareParsers.php.

References $user, $wgDiff, $wgUseTidy, Maintenance\error(), Maintenance\getOption(), Maintenance\hasOption(), and ParserOptions\newFromUser().

Here is the call graph for this function:

static CompareParsers::checkParserLocally ( parserName) [static, private]

Definition at line 131 of file compareParsers.php.

References $wgAutoloadClasses.

Referenced by processRevision().

Here is the caller graph for this function:

Reimplemented from DumpIterator.

Definition at line 81 of file compareParsers.php.

References Maintenance\error(), and Maintenance\output().

Here is the call graph for this function:

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

Parameters:
$revRevision

Reimplemented from DumpIterator.

Definition at line 98 of file compareParsers.php.

References $title, checkParserLocally(), Maintenance\error(), Maintenance\getOption(), Maintenance\output(), stripParameters(), and wfDiff().

Here is the call graph for this function:

Definition at line 87 of file compareParsers.php.

Referenced by processRevision().

Here is the caller graph for this function:


Member Data Documentation

CompareParsers::$count = 0 [private]

Reimplemented from DumpIterator.

Definition at line 34 of file compareParsers.php.


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