MediaWiki  REL1_22
DumpRenderer Class Reference

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

Inheritance diagram for DumpRenderer:
Collaboration diagram for DumpRenderer:

List of all members.

Public Member Functions

 __construct ()
 execute ()
 handleRevision ($rev)
 Callback function for each revision, turn into HTML and save.

Public Attributes

 $startTime

Private Attributes

 $count = 0
 $outputDirectory

Detailed Description

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

Definition at line 39 of file renderDump.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 44 of file renderDump.php.

References Maintenance\addOption().


Member Function Documentation

Callback function for each revision, turn into HTML and save.

Parameters:
$revRevision

Definition at line 83 of file renderDump.php.

References $options, $output, $rev, $title, $user, Maintenance\error(), ParserOptions\newFromUser(), Maintenance\output(), and User.


Member Data Documentation

DumpRenderer::$count = 0 [private]

Definition at line 41 of file renderDump.php.

DumpRenderer::$outputDirectory [private]

Definition at line 42 of file renderDump.php.

DumpRenderer::$startTime

Definition at line 42 of file renderDump.php.


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