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. 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.
> ---------------------You do prop=imageinfo&iiprop=sha1 for the original file
>
> Which API method gives me this detail?
>
> - Sreejith K.
and then to find the duplicates list=allimages&aisha1=01234...
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api