Jump to content

Manual:$wgAllowExternalImagesFrom/ko

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowExternalImagesFrom and the translation is 27% complete.
Parser: $wgAllowExternalImagesFrom
If $wgAllowExternalImages is false, you can specify exceptions here.
이 변수가 소개된 버전:1.6.0 (r11531)
이 변수가 사라진 버전:계속해서 쓰이고 있음
허용값:(array) (1.14+)
(string) (1.6-1.13)
기본값:''

상세

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 = 'http://127.0.0.1/';
$wgAllowExternalImagesFrom = [
    'http://127.0.0.1/',
    'https://www.example.com/'
];

같이 보기