-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
XCompWiz edited this page Jul 30, 2015
·
2 revisions
(This text modeled from https://github.com/df-wiki/namespacelinks)
This extension's configuration is located at Mediawiki:Autoredirect-namespaces
. By default, only admins (sysops) can edit pages in the Mediawiki:
namespace (the editinterface right controls this).
Basic configuration:
*(namespace)=(destination1),(destination2),...
For example:
*=v12,v11,v10,Older Versions
*Foo=Bar1,Bar2,Bar3
Sets it so that any pages not found in the main namespace will be looked for in the v12 namespace. If not found there, the following namespaces will be checked in order. The first found page will be the redirect target. Does the same for the Foo namespace, such that any missing pages in the Foo namespace will be looked for in Bar1, the nBar2, then Bar3.
- 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 -->