Jump to content

Manual:$wgMetaNamespace

From mediawiki.org
(Redirected from $wgMetaNamespace)
Namespaces: $wgMetaNamespace
Name used for the meta namespace.
Introduced in version:Before 1.1.0
Removed in version:Still in use
Allowed values:(string) or false
Default value:false

Details

[edit]

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

[edit]

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

$wgMetaNamespace = 'Project';

See also

[edit]