Manual:$wgResourceLoaderSources/ko
Appearance
From mediawiki.org
This page is a translated version of the page Manual:$wgResourceLoaderSources and the translation is 12% complete.
| ResourceLoader: $wgResourceLoaderSources | |
|---|---|
| Foreign module sources registry. |
|
| 이 변수가 소개된 버전: | 1.19.0 (r93247) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (array) |
| 기본값: | [] |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
Extensions can register foreign module sources here.
The default "local" source for modules from the local wiki is not set in this array.
Instead that one is defined by ResourceLoader::__construct() so that it cannot be unset or overwritten.
Example:
$wgResourceLoaderSources['foo'] = array( 'loadScript' => 'http://example.org/w/load.php', 'apiScript' => 'http://example.org/w/api.php' );