On Fri, May 6, 2011 at 9:22 PM, Hasanat Kazmi <hasanatkazmi(a)gmail.com> wrote:
but then I am returned a image titles. I have to call
this for each image to
get obsoulte URL:
http://commons.wikimedia.org/w/api.php?action=query&titles=File:Pakista…
This means that I have to make many (order of 2) calls to get absolute paths
of all images in an article. Is there any way this all can be squeezed into
just one API call?
Depending on what you want the actual URL for, you may find that
linking to
http://commons.wikimedia.org/wiki/Special:FilePath/Pakistan%20Int%20AL%20B7…
is easier, and avoids the need for the second step.
Conrad