Manual:$wgAllowExternalImagesFrom/pl

Category:MediaWiki configuration settings/pl#AllowExternalImagesFromCategory:MediaWiki configuration settings introduced in version 1.6.0/pl#AllowExternalImagesFromCategory:MediaWiki configuration settings still in use/pl#AllowExternalImagesFromCategory:Parser variables/pl#AllowExternalImagesFrom
Parser: $wgAllowExternalImagesFrom
If $wgAllowExternalImages is false, you can specify exceptions here.
Wprowadzono w wersji:1.6.0 (r11531)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(array) (1.14+)
(string) (1.6-1.13)
Domyślna wartość:''

Szczegóły

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.

Przykład

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

Zobacz też

Category:MediaWiki configuration settings/pl Category:MediaWiki configuration settings introduced in version 1.6.0/pl Category:MediaWiki configuration settings still in use/pl Category:Parser variables/pl