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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to