Re: [Wikitech-l] MediaWiki action api - query categories property of allimages list?

2018-08-04 Thread Bartosz Dziewoński
Yes, you have to use 'allimages' as a "generator" for a 
'prop=categories' query.


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


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

--
Bartosz Dziewoński

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] MediaWiki action api - query categories property of allimages list?

2018-08-03 Thread Hogan (US), Michael C
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

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l