Manual:$wgExtraNamespaces
Appearance
| 名前空間: $wgExtraNamespaces | |
|---|---|
| 追加的な名前空間。 |
|
| 導入されたバージョン: | 1.3.3 |
| 除去されたバージョン: | 使用中 |
| 許容される値: | (配列) |
| 既定値: | [] |
| その他の設定: アルファベット順 | 機能順 | |
詳細
$wgExtraNamespaces 構成パラメーターは、ウィキの追加的なカスタム $2 を構成できるようにします。
既定の名前空間の名称変更にも使用できます。
See the manual on using custom namespaces for further details.
Developer information:
In case an extension should work with the newly created custom namespace, make sure that you define and name them prior to invoking the respective extension.
拡張機能はこの構成パラメーターを使用してはいけません。 代わりに、CanonicalNamespaces フックを使用するか、名前空間を extension.json (MW 1.26+, Gerrit change 234146) を介して読み込むべきです。
関連項目
- Namespace IDs used by extensions – A list of namespace IDs already in wide use.
空間の衝突を回避するため、カスタム名前空間を定義する際は、3000 以降の ID を使用することをお勧めします。