MediaWiki master
CompareParsers Class Reference

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

Inherits DumpIterator.

Collaboration diagram for CompareParsers:

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __construct()

CompareParsers::__construct ( )

Reimplemented from DumpIterator.

Definition at line 64 of file compareParsers.php.

Member Function Documentation

◆ checkOptions()

CompareParsers::checkOptions ( )

Stub function for processing additional options.

Reimplemented from DumpIterator.

Definition at line 96 of file compareParsers.php.

References $wgDiff.

◆ conclusions()

CompareParsers::conclusions ( )

Stub function for giving data about what was computed.

Reimplemented from DumpIterator.

Definition at line 119 of file compareParsers.php.

◆ processRevision()

CompareParsers::processRevision ( WikiRevision $rev)

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

Parameters
WikiRevision$rev

Reimplemented from DumpIterator.

Definition at line 138 of file compareParsers.php.

References CONTENT_MODEL_WIKITEXT, WikiRevision\getContent(), and WikiRevision\getTitle().


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