thanks, it works!
------------------ 原始邮件 ------------------ 发件人: "Benjamin Lees";emufarmers@gmail.com; 发送时间: 2015年10月18日(星期天) 中午12:04 收件人: "MediaWiki announcements and site admin list"mediawiki-l@lists.wikimedia.org;
主题: Re: [MediaWiki-l] no external image displayed by adding$wgAllowExternalImages = true
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@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
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l