From 6f99926171e989a0862cded41a1e3fdcdb16c599 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 30 May 2012 16:15:31 +0000 Subject: add Feature namespace --- deployment/wikis/templates/wiki_settings | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'deployment/wikis') diff --git a/deployment/wikis/templates/wiki_settings b/deployment/wikis/templates/wiki_settings index 3714bacd..43a68621 100644 --- a/deployment/wikis/templates/wiki_settings +++ b/deployment/wikis/templates/wiki_settings @@ -17,3 +17,11 @@ $wgLogo = ""; $wgDefaultSkin = 'cavendish'; $wgFavicon = '/mw-en/skins/cavendish/favicon.png'; $wgRightsIcon = 'https://i.creativecommons.org/l/by-sa/3.0/88x31.png'; + +define('NS_FEATURE', 100); +define('NS_FEATURE_TALK', 101); +$wgExtraNamespaces[NS_FEATURE] = 'Feature'; +$wgExtraNamespaces[NS_FEATURE_TALK] = 'Feature_Talk'; +$wgContentNamespaces[] = NS_FEATURE; +$wgNamespacesToBeSearchedDefault[NS_FEATURE] = true; + -- cgit v1.2.1