Jump to content

메뉴얼:$wgExtraNamespaces

From mediawiki.org
This page is a translated version of the page Manual:$wgExtraNamespaces and the translation is 50% complete.
Outdated translations are marked like this.
Namespaces: $wgExtraNamespaces
이름공간을 추가합니다.
이 변수가 소개된 버전:1.3.3
이 변수가 사라진 버전:계속해서 쓰이고 있음
허용값:(정렬)
기본값:[]

설명

$wgExtraNamespaces는 위키에 추가적인 [[namespaces |이름공간]]을 구성합니다. 또한, 기존의 이름공간 명칭을 바꿀 수도 있습니다. See the manual on using custom namespaces for further details.

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).

같이 보기

이름공간 충돌을 방지하기 위해 자체 제작 이름공간의 ID는 $3000에서 시작하는 것을 권장하고 있습니다.