Last modified: 2011-03-13 18:05:13 UTC
The attached patch (against mediawiki-1.4.0) adds support for user groups
(similar to the one in mediawiki-1.5) to MediaWiki. It changes
SpecialUserlevels.php so that only sysops can change group memberships. And it
allows articles to be put into some groups.
After the patch is applied (and the database is updated with the two new SQL
input files), the following settings take effect:
* For articles that do not have any groups set, nothing changes.
* For articles which belong to at least one group, only users within one of
these groups can perform any actions on the articles (sysops are always granted
access, though). All other accesses are blocked.
* Only users which have access to articles can see changes of these pages in
This is a relatively simple, very hackerish and perhaps incomplete patch to
implement something a bit like ACLs. Well, you can restrict access to some
articles if you need it.
There is no web frontend to edit article groups.
The patch MAY contain a few hunks you might want to apply on the REL1_4 branch
("new group()" fixes and userlevel editing only for sysops).
Created attachment 403 [details]
Patch against mediawiki-1.4.0 to enable user groups and page groups
MediaWiki is a wiki engine. That means it's designed to allow open editing.