Podręcznik:RenderDump.php
Appearance
Plik MediaWiki: renderDump.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klasy: | DumpRenderer |
Szczegóły
renderDump.php is a maintenance script to 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.
Użycie
php renderDump.php --output-dir /path/to/output/dir < /path/to/dump.xml
You execute this script by passing an XML dump (generated with DumpBackup.php ) through standard in.