Is there a way to use the allimages API to get categories applied to each File: page? If not, would it make sense to suggest adding a categories property using Phabricator or by some other communication channel? https://www.mediawiki.org/wiki/API:Allimages
Thank you, Michael
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&gene...
More about generators: https://www.mediawiki.org/wiki/API:Query#Generators
wikitech-l@lists.wikimedia.org