[Mediawiki-l] {{ #ifexists: Image:name.jpg doesn't for files retrieved from Commons

Rolf Lampa rolf.lampa at rilnet.com
Sat Jan 10 12:38:50 UTC 2009


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



More information about the MediaWiki-l mailing list