Description
Author:
Description:
Hello, according to a decision from the board of Wikimedia Sverige, only members should be allowed to edit most pages at se.wikimedia. So we want the following tweeks:
- A usergroup called "Medlem" ("Medlem" is the singular, it's "Medlemmar" in plural if that is what should be used) with the same rights as the user group "autoconfirmed" usually have. Admins should be able to add users to this group (much in the same way as they can with rollbackers on other wikis)
- A new namespace called "Projekt:" and "Projektdiskussion:" (which means "Project" and "Project talk" respectively).
- Edit possibilitys and fileuploads should be closed for everyone, except users in the group "Medlem" and admins.
- However everyone except IPs shuould be able to edit in the new namespace "Projekt:" and "Projektdiskussion:"
/Micke
Version: unspecified
Severity: enhancement
URL: http://se.wikimedia.org
Details
- Reference
- bz14665
Event Timeline
jeluf wrote:
Done (I hope).
I've enabled the following config. It should do what you've requsted. Please correct me if I misunderstood it.
'wgAddGroups' => array(
'sewikimedia' => array( 'bureaucrat' => array( 'bot', 'sysop', 'bureaucrat', 'medlem' ), ),
),
'wgRemoveGroups' => array(
'sewikimedia' => array( 'bureaucrat' => array( 'bot', 'sysop', 'bureaucrat', 'medlem' ), ),
),
'groupOverrides' => array(
'sewikimedia' => array(
'*' => array( 'edit' => false, 'editallpages' => false, 'editprojekt' => true, ), 'user' => array( 'upload' => false, 'editallpages' => false, 'editprojekt' => true, ), 'sysop' => array( 'upload' => false, 'editallpages' => true, 'editprojekt' => true, ), 'medlem' => array( 'move' => true, 'move-subpages' => true, 'read' => true, 'edit' => true, 'createpage' => true, 'createtalk' => true, 'upload' => true, 'reupload' => true, 'reupload-shared' => true, 'minoredit' => true, 'purge' => true, 'editallpages' => true, 'editprojekt' => true, ),
),
),
'wgExtraNamespace' => array(
'sewikimedia' => array( 100 => 'Projekt', 101 => 'Projektdiskussion', ),
),
'wgNamespaceProtection => array(
'sewikimedia' => array(
NS_MAIN => array( 'editallpages' ), NS_TALK => array( 'editallpages' ), NS_USER => array( 'editallpages' ), NS_USER_TALK => array( 'editallpages' ), NS_PROJECT => array( 'editallpages' ), NS_PROJECT_TALK => array( 'editallpages' ), NS_IMAGE => array( 'editallpages' ), NS_IMAGE_TALK => array( 'editallpages' ), NS_MEDIAWIKI => array( 'editallpages' ), NS_MEDIAWIKI_TALK => array( 'editallpages' ), NS_TEMPLATE => array( 'editallpages' ), NS_TEMPLATE_TALK => array( 'editallpages' ), NS_HELP => array( 'editallpages' ), NS_HELP_TALK => array( 'editallpages' ), NS_CATEGORY => array( 'editallpages' ), NS_CATEGORY_TALK => array( 'editallpages' ), 100 => array( 'editprojekt' ), 101 => array( 'editprojekt' ),
),
),
bugs wrote:
I think it should be...
'*' => array( 'editprojekt' => false, ),
instead of true ("everyone *except* IPs"). But otherwise, it looks like it's working out fabulously and I'm impressed. :P
jeluf wrote:
Right you are.
'*' => array( 'edit' => false, 'editallpages' => false, 'editprojekt' => false, ),
Fixed.
mickewiki wrote:
It looks good, but I have one or two things:
*It seems admins doesn't have access to Special:Userrights
(Special:Rättigheter in swedish) so that we can put people in the group
"Medlem".
*There were a couple of pages all ready kalled Projekt: eg.
[[Projekt:Wikipediabok 1]] what happened to these?
/Micke
jeluf wrote:
- changed add/remove groups to:
'sewikimedia' => array( 'bureaucrat' => array( 'bot', 'sysop', 'bureaucrat', 'medlem' ), 'sysop' => array( 'medlem' ), ),
- moved the pages to their new namespace
PS: Please set the status to "REOPENED" if there are more things that need to be changed, otherwise I might miss your comments.
mickewiki wrote:
It looks fine now! Many thanks!
/Micke
