On 16/05/16 04:11, Praveen Balaji wrote:
> Hello!
> Is there a way to tell whether an image is on the "commons" wiki or on
> "enwiki". Some images seem to be available on "wikipedia/commons", like so:
>
> https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg
>
> and some others on "wikipedia/en" like so:
>
> http://upload.wikimedia.org/wikipedia/en/6/68/Crocodile_dundee_ii_ver2.jpg
>
> Thanks in advance for your answers.
>
> Cheers
> Praveen
If it's present in the image table, it's a local upload, so for English
wikipedia it will be on http://upload.wikimedia.org/wikipedia/en/…
(the path would change for other projects, obviously)
Else it means it lives in Wikimedia Commons (the only foreign repo
used), so it'd be at https://upload.wikimedia.org/wikipedia/commons/…
It's also possible that an "included image" doesn't actually exist and
won't be on any of them.
Also note that images locally uploaded to English wikipedia are most
often than not unfree, so be careful about copyright issues with them.