You can take the
-pages-articles.xml.bz2 from the Wikimedia 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 set up because it also provides the already processed dumps (
Taking Wikimedia stuff with
wget is not good practice. If too many people would do that it can flood the sites with requests.
Later edit for the case you want also the images offline:
If you want a complete mirror of Wikipedia (including images) full HTML formatting intact that will download in aprox 30 hours, you should use:
English Wikipedia has a lot of data. There are 13.9+ million pages with 20.0+ GB of text, as well as 3.7+ million thumbnails.
Setting all this up on your computer will not be a quick process...
The import itself will require 80GB of disk space and five hours
processing time for the text version. If you want images as well, the
numbers increase to 100GB of disk space and 30 hours of processing
time. However, when you are done, you will have a complete, recent
copy of English Wikipedia with images that can fit on a 128GB SD card.
But the offline version is very much like the online version, includes photos etc:
(I tested the bellow article completely offline)