Manual:$wgAllowExternalImagesFrom/pt-br

Category:MediaWiki configuration settings/pt-br#AllowExternalImagesFromCategory:MediaWiki configuration settings introduced in version 1.6.0/pt-br#AllowExternalImagesFromCategory:MediaWiki configuration settings still in use/pt-br#AllowExternalImagesFromCategory:Parser variables/pt-br#AllowExternalImagesFrom
Analisador: $wgAllowExternalImagesFrom
If $wgAllowExternalImages is false, you can specify exceptions here.
Introduzida na versão:1.6.0 (r11531)
Removida na versão:Ainda em uso
Valores permitidos:(array) (1.14+)
(string) (1.6-1.13)
Valor padrão:''

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.

Example

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

Ver também

Category:MediaWiki configuration settings/pt-br Category:MediaWiki configuration settings introduced in version 1.6.0/pt-br Category:MediaWiki configuration settings still in use/pt-br Category:Parser variables/pt-br