Manual:$wgConfigRegistry/ko
Appearance
| Server URLs and file paths: $wgConfigRegistry | |
|---|---|
| Registry of factory functions to create config objects |
|
| 이 변수가 소개된 버전: | 1.23.0 (Gerrit change 109850; git #I5a5857f) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (array) |
| 기본값: | see below |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
Registry of factory functions to create Config objects.
MediaWiki core provides GlobalVarConfig and HashConfig. Extensions can create their own implementations of the interface if they wish, although it's typically not needed.
The main key must be set, and the value should be a valid callable.
It's used for creating the main config object, which is available as the MainConfig service.
Default value
| 미디어위키 버전: | ≥ 1.45 |
[
'main' => 'MediaWiki\\Config\\GlobalVarConfig::newInstance'
]
| 미디어위키 버전: | 1.23 – 1.44 |
[
'main' => 'GlobalVarConfig::newInstance'
]