Manual:$wgAllowExternalImagesFrom
From MediaWiki.org
Parser: $wgAllowExternalImagesFrom | |
---|---|
If $wgAllowExternalImages is false, you can specify exceptions here. |
|
Introduced in version: | 1.6.0 (r11531) |
Removed in version: | still in use |
Allowed values: | string (prior to 1.14), array (as of 1.14) |
Default value: | (empty string) |
Other settings: Alphabetical | By Function
Details[edit | edit source]
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.
Example[edit | edit source]
$wgAllowExternalImagesFrom = 'http://127.0.0.1/'; $wgAllowExternalImagesFrom = array( 'http://127.0.0.1/', 'http://www.example.com/' ); // 1.14.0 and above only
See also[edit | edit source]
Language: | English • 日本語 |
---|