MediaWiki  REL1_20
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 ()
 Default constructor.
 execute ()
 Do the actual work.
 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

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 44 of file renderDump.php.

References Maintenance\addOption().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 52 of file renderDump.php.

References $source, Maintenance\error(), Maintenance\getOption(), Maintenance\getStdin(), and Maintenance\hasOption().

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

Parameters:
$revRevision

Definition at line 82 of file renderDump.php.

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


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: