메뉴얼:$wgExtraNamespaces
Appearance
| Namespaces: $wgExtraNamespaces | |
|---|---|
| 이름공간을 추가합니다. |
|
| 이 변수가 소개된 버전: | 1.3.3 |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (정렬) |
| 기본값: | [] |
| 기타 설정: 알파벳 순 | 기능별 순 | |
설명
$2는 위키에 추가적인 이름공간을 구성합니다. 또한, 기존의 이름공간 명칭을 바꿀 수도 있습니다. See 매뉴얼:사용자 지정 이름 공간 for further details.
When adding new namespaces, run namespaceDupes.php as appropriate. Otherwise, you may make some pages inaccessible. More information may be found at Manual:Using custom namespaces#Dealing with existing pages. |
Developer information:
확장 기능이 새로 생성된 자체 제작 이름공간에서 작동해야 하는 경우, 각 확장 기능을 부를 때 먼저 이름공간을 정의하고 이름을 지정해야 합니다.
Extensions should not use this configuration parameter. Instead they should use the CanonicalNamespaces hook or load the namespace through extension.json (MW 1.26+, Gerrit change 234146).
같이 보기
| View the values of this configuration setting on the Wikimedia wikis in core-Namespaces.php. |
- Namespace IDs used by extensions – A list of namespace IDs already in wide use.
이름공간 충돌을 방지하기 위해 자체 제작 이름공간의 ID는 3000에서 시작하는 것을 권장하고 있습니다.