Yes, you have to use 'allimages' as a "generator" for a 'prop=categories' query.

Example: https://en.wikipedia.org/w/api.php?action=query&prop=categories&generator=allimages&gaifrom=E

More about generators: https://www.mediawiki.org/wiki/API:Query#Generators

--
Bartosz Dziewoński

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to