How can I download a specific set of the Wikipedia database? In particular, I'm interested in downloading all articles that fall under the mathematics portal and possibly the computer science portal. How can I do that?
4 Answers
You can use a software called Kiwix, which is really easy to use.
EDIT
Wikipedia provide a tool to extract a subset of its content. You can search for "Mathematics" here, and then export every article within this category. You'll get a .xml file which you can browse using one of the listed tools here.
- 2,549
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, with all articles available to the time of the dump, but without the images.
Or you can use Kiwix faster to setup because has the database is already made (but quite old), but WikiTaxi has the advantage that you can have the latest updated content.
- 3,186
go to en.wikipedia.org on the left sidebar, under "tools", click on "special pages".
in the new page, under "page tools" click on "export pages".
on the new page, type the name of each category you want. for example type mathematics (as shown in the picture below) and hit add.

then you should install Mediawiki and go to similar path and select "import pages".
- 1,106