Skip to content
Lethosor edited this page Aug 10, 2013 · 3 revisions

This extension's configuration is located at Mediawiki:Namespace-links. By default, only admins (sysops) can edit pages in the Mediawiki: namespace (the editinterface right controls this).

Configuration format

Basic configuration:

*(namespace)=(destination)

For example:

*User=User
*User talk=User
*Foo=Bar

Sets all links in the User and User talk namespaces to link to the User namespace by default, and all links in the Foo namespace to link to the Bar namespace by default.

Notes

  • The * is not required, but will make readability much better when displayed by MediaWiki — without the *, items will appear as one line when viewed as HTML.
  • Spaces are acceptable in most cases, except in the middle of a namespace name:
* Foo   =  Bar     <!-- Acceptable -->
*  Foo talk=Foo    <!-- Acceptable -->
* Foo  talk = Foo  <!-- Acceptable: MediaWiki ignores extra spaces -->
* F oo=Bar         <!-- Not acceptable -->
Clone this wiki locally