API talk:Allcategories

it's the parameter "apnamespace" that has to be set when requesting list=allpages.