I want to have the title of all documents in Wikipedia as a text file. What should I do?


#1

I need the table of contents in Wikipedia in my design work. How do I get the title of every document as a text file?


#2

https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-all-titles.gz (or https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-all-titles-in-ns0.gz if you just need articles).


#3

An other possibility is to use https://www.mediawiki.org/wiki/API:Allpages.