Extension:Offline

Overview
This extension provides an offline viewing mode for Wikipedia dumps, or any other wiki, on your private Mediawiki server.

Be aware that you will need a Wikipedia dump and the corresponding index, see the project page if you need help:

For a recent English, compressed backup of all article text (7.4GB, not including your index): For example, visit http://dumps.wikimedia.org/enwiki/20111201/ and download http://dumps.wikimedia.org/enwiki/20111201/enwiki-20111201-pages-articles.xml.bz2

A smaller database for testing (or if you speak Tagalog) can be found here, with indexes built already: http://wikipedia-offline-patch.googlecode.com/files/wiki-splits-tl.zip

or, browse backup dumps from many other languages and wiki projects: http://dumps.wikimedia.org/backup-index.html

The project page has binary distributions for macos, windows, and linux, which include a webserver and supporting libraries. It also explains how to build and run the indexer. http://code.google.com/p/wikipedia-offline-patch

There is an unusual dependency: the Xapian indexing library and its PHP bindings. Also, you will have to configure some type of revision_text caching by setting $wgRevisionCacheExpiry and $wgCacheType.

User rights
= Acknowledgements = The current author is Adam Wight, who can be reached through the wikipedia-offline-patch project page or at adamw on ludd.net.

Thanassis Tsiodras has a great page explaining how to build an offline wikipedia from simple tools you might find around the house.

Wikipedia Offline Client was the starting point of the code here.

MediaWiki developers contributed valuable insight.

This software and its source code are licensed as GPL.