[Mediawiki-l] Regarding Namespace Access Issue

Young Joon Kim goguryo2000 at gmail.com
Thu Mar 23 14:41:45 UTC 2006

Dear All,

I am having trouble setting up the access level for a new namespace that
I've added.

I want it to be accessible only by Sysops and above.

My wikimedia version is 1.5.4.

Following is what I've done to Localsettings.php but it's not working.

Does anyone know what the problem is?

Thanks for your time.

---  Young
$wgExtraNamespaces = array(100 => "Creator", 101 => "Creator_Page");

# restrict access to this extra-namespace
$wgRestrictedNamespaces =
array(100 => "namespaceGrp1", 101 => "namespaceGrp2");

# allow only 'sysop' and 'bureaucrats' for restrictedNamespace 'Creator'
$wgGroupPermissions['sysop']['namespaceGrp1'] = true;
$wgGroupPermissions['sysop']['namespaceGrp2'] = true;
$wgGroupPermissions['bureaucrat']['namespaceGrp1'] = true;
$wgGroupPermissions['bureaucrat']['namespaceGrp2'] = true;

Young J. Kim
goguryo2000 at gmail.com

More information about the MediaWiki-l mailing list