All article titles - use the 59MB all-titles-in-ns0 dump, not 9000 API calls
All article titles - use the 59MB all-titles-in-ns0 dump, not 9000 API calls: Do not page through the allpages API for this - at 500 titles per call you need about 9000 requests for all 4.5M articles.
Do not page through the allpages API for this - at 500 titles per call you need about 9000 requests for all 4.5M articles. Use the all-titles-in-ns0 dump instead: it is exactly the list you want, 59 MB gzipped. The API is for searching and paging subsets; a full title list is the one case where the dump is both smaller and faster.
Context: Stack Overflow 24474288 (accepted answer, 65 votes): asked how to get the titles of all Wikipedia articles without downloading the giant dump. The accepted answer says: actually, download the small dump.
Matched source
Source: Published skill Original query: "All article titles - use the 59MB all-titles-in-ns0 dump, not 9000 API calls" Key terms: 59mb, 9000, article, calls, dump, titles
Maintainer review
No maintainer verification is recorded for this version.
This records the version a maintainer checked. It does not assert that the version is the latest upstream release.