You can use the CatScan tool to search for categories.
Instructions here
http://meta.wikimedia.org/wiki/CatScan
Search example - note, html format is displayed on 1000 results. Select CSV export to get all the results. In addition, be sure to change the category depth and other parameters, if necessary.
The already mentioned pywikipediabot is another option.
source
share