Page MenuHomePhabricator

Setup new groups in no.wikipedia and access to Special:Userrights
Closed, ResolvedPublic

Description

Author: stigmj

Description:
Needed changes in LocalSettings.php for no.wikipedia.

Please setup two new groups, called patrol and autopatrol with the following rights: patrol = patrol, autopatrol and rollback. autopatrol = autopatrol. Then enable access to Special:Userrights for sysop and bureaucrats with the following rights: bureaucrat can add bureaucrat, add sysop, add/remove bot, add/remove patrol and add/remove autopatrol. Sysop can add patrol and add/remove autopatrol. In short, bureaucrats should have the same access as before, but in addition add/remove both patrol and autopatrol. Sysops should be able to add patrol and add/remove autopatrol.
I have attached the needed config for LocalSettings.php as far as I know.

The relevant discussion about this is here: http://no.wikipedia.org/wiki/Wikipedia:Tinget#Utvidelse_av_RC-Patrol_.28inntil_vi_evt._f.C3.A5r_stabile_versjoner.29


Version: unspecified
Severity: enhancement

Attached:

Details

Reference
bz11509

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:56 PM
bzimport set Reference to bz11509.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Done.

'groupOverrides' => array(

'nowiki' => array(
	'patroller' => array( 'patrol' => true, 'autopatrol' => true, 'rollback' => true ),
	'autopatrolled' => array( 'autopatrol' => true ),
),

),

'wgAddGroups' => array(
'nowiki' => array(

		'bureaucrat' => array( 'sysop', 'bureaucrat', 'bot', 'patroller', 'autopatrolled' ),
		'sysop' => array( 'patroller', 'autopatrolled' ),

),
),

'wgRemoveGroups' => array(
'nowiki' => array(

		'bureaucrat' => array( 'bot', 'patroller', 'autopatrolled' ),
		'sysop' => array( 'autopatrolled' ),

),
),