Localsettings.php
From Simland
(Difference between revisions)
Line 1: | Line 1: | ||
$wgExtraNamespaces[100] = "Cheat"; | $wgExtraNamespaces[100] = "Cheat"; | ||
$wgExtraNamespaces[101] = "Cheat_talk"; | $wgExtraNamespaces[101] = "Cheat_talk"; | ||
+ | define("NS_CHEAT", 100); | ||
+ | define("NS_CHEAT_TALK", 101); | ||
+ | |||
+ | $wgExtraNamespaces[NS_CHEAT] = "Cheat"; | ||
+ | $wgExtraNamespaces[NS_CHEAT_TALK] = "Cheat_talk"; | ||
+ | |||
+ | $wgNamespaceProtection[NS_CHEAT] = array( 'editcheat' ); #permission "sysop" required to edit the Cheat namespace | ||
+ | $wgGroupPermissions['sysop']['editcheat'] = true; #permission "editcheat" granted to users in the "sysop" group |
Current revision as of 09:51, 15 April 2008
$wgExtraNamespaces[100] = "Cheat"; $wgExtraNamespaces[101] = "Cheat_talk"; define("NS_CHEAT", 100); define("NS_CHEAT_TALK", 101);
$wgExtraNamespaces[NS_CHEAT] = "Cheat"; $wgExtraNamespaces[NS_CHEAT_TALK] = "Cheat_talk";
$wgNamespaceProtection[NS_CHEAT] = array( 'editcheat' ); #permission "sysop" required to edit the Cheat namespace $wgGroupPermissions['sysop']['editcheat'] = true; #permission "editcheat" granted to users in the "sysop" group