On 19/06/06, Ken McDonald ken@pixologic.com wrote:
I'm aware that there is no standard mechanism for assigning particular access privileges based on namespace (we don't really want to use one of the custom plugins unless it's pretty sure it will end up in the next version of MW), but is there any "good" (semi-approved) way to write-protect this particular namespace?
Use the hook in Title::userCan(), check against the namespace and $wgUser->isAllowed(); add custom permissions via an extension.
This can probably be done fairly reliably; it's restricting reading that's the bigger problem.
Rob Church