Hi, I'm looking for the API call can be used to get the "File Usage On Other Wikis" that is commonly seen on pages in commons.wikimedia.org, for example, near the bottom of:
http://commons.wikimedia.org/wiki/File:Almogaren_roquebentayga.jpg
I'm curious also about the origin of the "metadata" that's at the bottom of the page... does that come directly from the EXIF data in the *.jpg or is it stored in a database table and accessable via the API?
Paul Houle wrote:
http://commons.wikimedia.org/w/api.php?action=query&prop=globalusage&...
It is. http://commons.wikimedia.org/w/api.php?action=query&titles=File:Almogare...
You can of course mix them, change the output formats, etc. See http://commons.wikimedia.org/w/api.php and http://www.mediawiki.org/wiki/API