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 MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l