Last modified: 2008-07-05 21:25:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16665, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14665 - Several tweeks for se.wikimedia.org
Several tweeks for se.wikimedia.org
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://se.wikimedia.org
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-27 19:04 UTC by Micke Nordin
Modified: 2008-07-05 21:25 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Micke Nordin 2008-06-27 19:04:28 UTC
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:

1. 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)
2. A new namespace called "Projekt:" and "Projektdiskussion:" (which means "Project" and "Project talk" respectively).
3. Edit possibilitys and fileuploads should be closed for everyone, except users in the group "Medlem" and admins. 
4. However everyone except IPs shuould be able to edit in the new namespace "Projekt:" and "Projektdiskussion:" 

/Micke
Comment 1 JeLuF 2008-07-05 20:23:40 UTC
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' ),
	),
),
Comment 2 Casey Brown 2008-07-05 20:48:48 UTC
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
Comment 3 JeLuF 2008-07-05 20:59:42 UTC
Right you are. 

		'*' => array(
			'edit' => false,
			'editallpages' => false,
			'editprojekt' => false,
		),
Fixed.
Comment 4 Micke Nordin 2008-07-05 21:07:06 UTC
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 
Comment 5 JeLuF 2008-07-05 21:19:42 UTC
1) changed add/remove groups to:

    'sewikimedia' => array(
    	'bureaucrat' => array( 'bot', 'sysop', 'bureaucrat', 'medlem' ),
    	'sysop' => array( 'medlem' ),
    ),    

2) 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.
Comment 6 Micke Nordin 2008-07-05 21:25:10 UTC
It looks fine now! Many thanks!

/Micke

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links