On 11/29/05, Schmidt, Torsten <torsten.schmidt(a)tecdoc.net> wrote:
http://entwicklung/mediawiki/index.php/testnamespace:Restriction_Test
Here is my Part of the LocalSettings.php where i've done this:
221 # create Test-ExtraNamespace:
222 $wgExtraNamespaces =
223 array(100 => "testnamespace",
224 101 => "testnamespace_talk"
225 );
226
227 # restrict access to this extra-namespace
228 $wgRestrictedNamespaces =
229 array(100 => "testgroup",
230 101 => "testgroup"
231 );
232 # allow only 'sysop' and 'testgroup' for restrictedNamespace
'testnamespace'
233 $wgGroupPermissions['sysop']['testgroup'] = true;
234 $wgGroupPermissions['testgroup']['testgroup'] = true;
235
236 $wgGroupPermissions['testgroup']['read'] = true;
237 #$wgGroupPermissions['testgroup' ]['edit'] = false;
238
Then, you can create a Page using the following link:
[[testnamespace:foobar]]
After this, the page 'foobar' can be viewed / edited only by the groupes you
defined above.
Regards,
Torsten
I've tried this and it doesn't work. I've also modified it and also
tried the example given in
http://meta.wikimedia.org/wiki/Hidden_pages
.. nothing works.
Any user can edit and see any document in that namespace.