Jump to content
MediaWiki

Manual:$wgExtraNamespaces/ru

From mediawiki.org
This page is a translated version of the page Manual:$wgExtraNamespaces and the translation is 6% complete.
Пространство имён: $wgExtraNamespaces
Additional namespaces.
Введено в версии:1.3.3
Удалено в версии:всё ещё используется
Допустимые значения:(array)
Значение по умолчанию:[]
Другие настройки: По алфавиту | По функциональности

Details

The $wgExtraNamespaces configuration parameter lets you configure additional, custom namespaces . It can also be used to rename the default namespaces. 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:

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.

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.

It is recommended that users choose custom namespace IDs starting at 3000 to avoid namespace conflicts.

AltStyle によって変換されたページ (->オリジナル) /