Great! It's perfect :)
Thank you really. Best, Luca
2017-01-22 14:52 GMT+01:00 Kenrick kenrick95@gmail.com:
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&titles=File:Maradona_at_2012_GCC_ Champions_League_final.JPG
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
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api