2009/7/3 shafqat shafqat@newscred.com:
I should clarify since I now realize that the wikitext on the page (http://commons.wikimedia.org/w/index.php?title=File:Sidney_Crosby.jpg&ac...) contains attribution info in the Flickr template, which is good enough. However, I can't seem to get this info when using the prop=revisions query I've been using and works most of the time.
http://en.wikipedia.org/w/api.php?action=query&generator=search&prop...
This is because you're grabbing them from enwiki, while the image description page is really on Commons. The UI shows the description page transparently, but the API doesn't. You'll have to run the query on Commons to get the info in this case.
Roan Kattouw (Catrope)