MediaWiki master
DumpRenderer Class Reference

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

Inherits Maintenance.

Collaboration diagram for DumpRenderer:

Public Member Functions

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

Detailed Description

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

Definition at line 46 of file renderDump.php.

Constructor & Destructor Documentation

◆ __construct()

DumpRenderer::__construct ( )

Definition at line 55 of file renderDump.php.

Member Function Documentation

◆ execute()

DumpRenderer::execute ( )

Definition at line 64 of file renderDump.php.

References $params, $source, and wfMessage().

◆ handleRevision()

DumpRenderer::handleRevision ( WikiRevision $rev)

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

Parameters
WikiRevision$rev

Definition at line 103 of file renderDump.php.

References WikiRevision\getContent(), WikiRevision\getID(), WikiRevision\getTimestamp(), and WikiRevision\getTitle().


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