Manual:$wgMetaNamespace/ru

From Linux Web Expert

<translate> Namespaces</translate>: $wgMetaNamespace
Name used for the meta namespace.
<translate> Introduced in version:</translate>pre 1.1.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(string) or false
<translate> Default value:</translate>false

Details

The name of the meta namespace (also known as the project namespace), used for pages regarding the wiki itself. If set to false, the value of $wgSitename is assumed. An alias for this namespace is "Project". The associated talk namespace is specified by $wgMetaNamespaceTalk .

Be sure to use underscores instead of spaces, otherwise there will be problems. It is however possible to use spaces in $wgSitename .

Example

To use "Project" as the name of the meta namespace, the following code can be added to LocalSettings.php :

$wgMetaNamespace = 'Project';

См. также