AW: [Mediawiki-l] Userspaces and groups permissions
Schmidt, Torsten
torsten.schmidt at tecdoc.net
Tue Nov 29 15:07:18 UTC 2005
Sorry i posted a wrong (only internal) Link.
the right one is:
http://meta.wikimedia.org/wiki/Hidden_pages
-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org]Im Auftrag von Schmidt,
Torsten
Gesendet: Dienstag, 29. November 2005 15:54
An: MediaWiki announcements and site admin list
Betreff: AW: [Mediawiki-l] Userspaces and groups permissions
... Wrong link here ...
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
-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org]Im Auftrag von Gabriele
Barberi
Gesendet: Dienstag, 29. November 2005 14:06
An: mediawiki-l at Wikimedia.org
Betreff: [Mediawiki-l] Userspaces and groups permissions
Hello,
I'm running mediawiki 1.5.0 and I would like to have four groups (sysop,
bureaucrat, developers, contributors) where:
- sysop has full privileges;
- bureaucrat has almost full privileges (can create new users, edit and
add new pages, but cannot modify pages owned by sysops);
- developers can add new pages and modify them but only on their own
projects;
- contributors can only modify some pages.
In order to allow future upgrades I prefer not to install patches not
officially provided by mediawiki.org.
Could someone tell me how to do it?
I would also like to create new projects/namespaces with subpages, but
the documentation on meta.mediawiki.org is not clear about it. How
should I do it?
Please save me...
Thanks in advance and best regards
Gabriele
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
More information about the MediaWiki-l
mailing list