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

Rolf Lampa rolf.lampa at rilnet.com
Sat Jan 10 12:00:11 UTC 2009


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



More information about the MediaWiki-l mailing list