Paul Houle wrote:
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
http://commons.wikimedia.org/w/api.php?action=query&prop=globalusage&am…
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?
It is.
http://commons.wikimedia.org/w/api.php?action=query&titles=File:Almogar…
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