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

Michael Rosenthal rosenthal3000 at googlemail.com
Sat Jan 10 12:30:38 UTC 2009


{{ #ifexist:Media:Stylised Lithium Atom.svg | Yup | Nope }}

should work

-- 
Michael Rosenthal/Wuzur

On Sat, Jan 10, 2009 at 1:00 PM, Rolf Lampa <rolf.lampa at rilnet.com> 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