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.
For example, on this image page (File:Defender18thkkk.jpg<en.wikipedia.org/wiki/File:Defender18thkkk.jpg>), towards the bottom, we have the following text. ---------------------The following file is a duplicate of this file (more detailshttp://en.wikipedia.org/wiki/Special:FileDuplicateSearch/Defender18thkkk.jpg ):
- File:Defender18thkkk.jpghttp://commons.wikimedia.org/wiki/File:Defender18thkkk.jpgfrom Wikimedia Commons
---------------------
Which API method gives me this detail?
- Sreejith K.
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...
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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org