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&titles=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? It is. http://commons.wikimedia.org/w/api.php?action=query&titles=File:Almogaren_roquebentayga.jpg&prop=imageinfo&iiprop=metadata 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 _______________________________________________ Commons-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/commons-l
