Yes, changing NS "Image" to NS "Media" did the trick, thank you Michael 
and Kalan!

// Rolf Lampa



Rolf Lampa wrote:
> I have a template for images, which checks if they exist, but it doesn't 
> work for images retrived from commons via ForeignAPIRepo. The code:
>
> {{ #ifexist:Image:Stylised Lithium Atom.svg | Yup | Nope }}
>
> How can I achieve a correct result from the template also for foreign 
> file repos?
>
> Regards,
>
> // Rolf Lampa
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>   

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to