[Mediawiki-l] restricting pages using namespaces and group permissions

Schmidt, Torsten torsten.schmidt at tecdoc.net
Wed Nov 16 15:01:20 UTC 2005


i can't get it working:

i have this in my Localsettings.php:

# Testing Namespace
$wgExtraNamespaces =
        array(100 => "testnamespace",
              101 => "testnamespace_talk"
              );

# restrict access to this extra-namespace
$wgRestrictedNamespaces =
        array(100 => "testgroup",
              101 => "testgroup"
             );
# allow only 'sysop' and 'testgroup' for restrictedNamespace 'testnamespace'
$wgGroupPermissions['sysop']['testgroup'] = true;
$wgGroupPermissions['testgroup']['testgroup'] = true;


This should allow only users in the sysop and testgroup access to the pages in testnamespace.

But, if i create a page with this link [[testnamespace:Restriction_Test]]
i can view and edit it as a normal (new created) testuser.

have i missed something?

Beste Grüsse, Best Regards
Torsten Schmidt






More information about the MediaWiki-l mailing list