I thought there would be a way of doing this by a single API call, but this
will work for me as well. Thank you.
- Sreejith K.
On Fri, Oct 14, 2011 at 1:33 PM, Platonides <platonides(a)gmail.com> wrote:
Sreejith K. wrote:
Hi,
I was wondering if we have a way of finding whether a given image is
available in commons under the same or different name.
---------------------
Which API method gives me this detail?
- Sreejith K.
You do prop=imageinfo&iiprop=sha1 for the original file
and then to find the duplicates list=allimages&aisha1=01234...
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api