On May 15, 2012 9:52 PM, "CherianTinu Abraham" tinucherian@gmail.com wrote:
I did try to create a new namespace & used $wgNamespaceProtection
$wgNamespaceProtection[NS_WIKIMEETUPS] = array( '*' );
but it is not allowing *anyone* to edit the new namespace, not even the sysops.
$wgNamespaceProtection works with rights, not groups. So to lock down a namespace, you'd use something like:
$wgNamespaceProtection[NS_FOO] = 'editfoo'; $wgGroupPermissions['sysop']['editfoo'] = true;
There's no easy way to open up a namespace to anons this way, other than by allowing anons to edit and then locking them out of every namespace except one.
Roan