API:Allcategories

GET request to list all categories that fit certain criteria relating to their titles.

This module can be used as a generator.

Sample code
get_allcategories.py

Additional notes

 * This module differs from list=allpages&alnamespace=14 in that categories without descriptions will be listed, while redirects and pages where the category was never used will not.
 * The response may include categories that were previously used but have since been deleted.
 * Because the response may include categories that are deleted or otherwise empty, it is recommended to filter the list using, so as to only return categories containing one or more members.