Page MenuHomePhabricator

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


Author: stigmj

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:

Version: unspecified
Severity: enhancement




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:


'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' ),