From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgAllowExternalImagesFrom and the translation is 31% complete.

Other languages:
English • ‎dansk • ‎español • ‎magyar • ‎polski • ‎русский • ‎中文 • ‎日本語
Parser: $wgAllowExternalImagesFrom
If $wgAllowExternalImages is false, you can specify exceptions here.
Появилось, начиная с версии:1.6.0 (r11531)
Удалено в версии:все еще используется
Допустимые значения:(string) (prior to 1.14)
(array) (1.14+)
Значение по умолчанию:''


If $wgAllowExternalImages is false, you can specify an exception here. Image URLs that start with this string are then rendered, while all others are not. You can use this to set up a trusted, simple repository of images. As of r40310 (1.14.0), this may be an array of strings.


  $wgAllowExternalImagesFrom = '';
  $wgAllowExternalImagesFrom = array( '', 'http://www.example.com/' ); // 1.14.0 and above only

См. также