MediaWiki
REL1_22
|
Maintenance script that takes page text out of an XML dump file and render basic HTML out to files. More...
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 |
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.
Reimplemented from Maintenance.
Definition at line 44 of file renderDump.php.
References Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 52 of file renderDump.php.
References $source, array(), Maintenance\error(), Maintenance\getOption(), Maintenance\getStdin(), global, and Maintenance\hasOption().
DumpRenderer::handleRevision | ( | $ | rev | ) |
Callback function for each revision, turn into HTML and save.
$rev | Revision |
Definition at line 83 of file renderDump.php.
References $options, $output, $rev, $title, $user, Maintenance\error(), ParserOptions\newFromUser(), Maintenance\output(), and User.
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.