Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I would like to be able to make an offline version of a MediaWiki site on a weekly basis.

The DumpHTML extension actually does what I want, as it dumps all articles and media files, but I can't see any index of all the articles it have dumped, so I can't navigate in the dump.

Reading about the XML dump feature MediaWiki have, I wonder if it would be possible to either use a program to view these files or perhaps convert them to html?

Or are there other ways to make an offline version of a MediaWiki site?

share|improve this question
Do you really need an index? Just start at Main Page and follow the links from there. –  Ilmari Karonen Apr 20 '12 at 11:44

2 Answers 2

up vote 3 down vote accepted

You could use a webcrawler tool which will save the site as HTML files. All the links will be converted, so you can open the main page, say, and then click on links and get to all the site.

There are a number of these tools available. I use wget, which is command line based and has thousands of options, so not very friendly. However it is quite powerful.

For example, here is the command line I used to dump my own mediawiki site. I suggest you understand each option though before using it yourself:

"c:\program files\wget\wget" -k -p -r -R '*Special*' -R '*Help*' -E http://example.com/wiki
share|improve this answer

You can take the -pages-articles.xml.bz2 from Wikimedia backup dumps site and process them with WikiTaxi(download in upper left corner). Wikitaxi Import tool will create a .taxi(around 15Gb for Wikipedia) file out of the .bz2 file. That file will be used by WikiTaxi program to search through articles. The experience is very similar to the browser experience.

Or you can use Kiwix faster to setup because has the database already made, but WikiTaxi has the advantage that you can have the latest update.

Taking WikiMedia stuff with wget is not good practice, if too many people would do that it can flood the sites with requests.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.