Hi there,
Try action = query & prop = globalusage https://commons.wikimedia.org/w/api.php?action=help&modules=query%2Bglobalusage .
For your example, this: https://commons.wikimedia.org/w/api.php?action=query&prop=globalusage&am...
Hope it works :)
Regards, Kenrick
On 22 January 2017 at 19:32, Luca Libonati luca.libonati@gmail.com wrote:
Hi All, in a wikimedia commons page like this one https://commons.wikimedia. org/wiki/File:Maradona_at_2012_GCC_Champions_League_final.JPG is there a way to extract links from paragraph "File usage on other wikis" through API?
I'm trying a lot of combination with the api sandbox but whitout success.
I need to know in which wikipedia pages that image is used.
Thank you, Luca
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api