[MediaWiki-l] no external image displayed by adding $wgAllowExternalImages = true

Benjamin Lees emufarmers at gmail.com
Sun Oct 18 04:04:44 UTC 2015


With $wgAllowExternalImages, you don't use the [[ ]] internal link
format. Instead, you just put the image link by itself.

So a line with just
http://www.hiastar.com/images/banners/Sangoma-Certified_Cards_Badge.jpg
will work.

If you want it to be a link, use the [ ] external link format.
[http://linktowhateveryouwant.com
http://www.hiastar.com/images/banners/Sangoma-Certified_Cards_Badge.jpg]

https://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages also
lists reasons you might not want to do this and alternatives that
might be better, but it should work.


On Sat, Oct 17, 2015 at 10:14 PM, james.zhu <freepbx at qq.com> wrote:
> hello:all of guys:
> I use MediaWiki 1.25.2 and set  $wgAllowExternalImages = true in LocalSettings.php.
> But my wiki still display the the linke in text, not the real image:
> http://www.hiastar.com/images/banners/Sangoma-Certified_Cards_Badge.jpg
>
>
> the source is: [[file:San.jpg|http://www.hiastar.com/images/banners/Sangoma-Certified_Cards_Badge.jpg]]
>
>
> Does Anyone know what is the problem?
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list