[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> compareParsers.php (summary)

Take page text out of an XML dump file and render basic HTML out to files. This is *NOT* suitable for publishing or offline use; it's intended for running comparative tests of parsing behavior using real-world data. Templates etc are pulled from the local wiki database, not from the dump.

File Size: 189 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/dumpIterator.php

Defines 1 class

CompareParsers:: (6 methods):
  __construct()
  checkOptions()
  conclusions()
  stripParameters()
  processRevision()
  checkParserLocally()


Class: CompareParsers  - X-Ref

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

__construct()   X-Ref
No description

checkOptions()   X-Ref
No description

conclusions()   X-Ref
No description

stripParameters( $text )   X-Ref
No description

processRevision( $rev )   X-Ref
Callback function for each revision, parse with both parsers and compare

param: Revision $rev

checkParserLocally( $parserName )   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1