Handbuch:$wgAllowExternalImagesFrom

This page is a translated version of the page Manual:$wgAllowExternalImagesFrom and the translation is 36% complete.
Parser: $wgAllowExternalImagesFrom
If $wgAllowExternalImages is false, you can specify exceptions here.
Eingeführt in Version:1.6.0 (r11531)
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(array) (1.14+)
(string) (1.6-1.13)
Standardwert:''

Details

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.

Beispiel

$wgAllowExternalImagesFrom = 'http://127.0.0.1/';
$wgAllowExternalImagesFrom = [
    'http://127.0.0.1/',
    'https://www.example.com/'
];

Siehe auch