Extension:DumpHTML

dumpHTML.php was a script that allows to make a simple HTML-dump of a MediaWiki installation.

You'll need a console-based command like  for Linux. You can't execute the file with your browser, because you aren't able to use parameters.

In MediaWiki 1.11.x images (and therefore also equations) were broken. See 12122 and 13061 for details. 1.11.x was the last branch to have dumpHTML.php as a maintenance script. For upcoming releases the functionality was moved to an extension, http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/DumpHTML/.

Parameters
Example to create a complete snapshot including image and media files and image thumbnail files in directory wikidump (LINUX) /usr/bin/php /srv/www/mediawiki/extension/DumpHTML/dumpHTML.php -d /srv/www/mediawiki/wikidump -k monobook --image-snapshot --force-copy

If you intend to use the wikidump on a CD/DVD-ROM or on a Windows filesystem, and if your wiki pages or files had non-ASCII characters, which is likely, then you probably need to change the directory and filenames from UTF-8 (on LINUX) to the character encoding on your Windows, for example to codepage 1252 for Western-European systems. A useful LINUX tool for this task is convmv hosted on http://freshmeat.net/projects/convmv/.

convm -f utf-8 -t cp1252 --notest -r /srv/www/mediawiki/wikidump