Page MenuHomePhabricator

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

Description

Author: H92.wikipedia

Description:
LocalSettings.php changes:

OK, I need two new user groups in the Norwegian Wikibooks, nowikibooks.

The first one called "patrol" (of course without the "s), with the following abilities:
patrol, autopatrol, rollback

The other one, called "autopatrol" (also without the "s), with the following ability:
autopatrol

That is: A patrol member is able to patrol edits, have his/her edits automatically patrolled, and have the rollback feature. An autopatrol member has his/her edits automatically patrolled.

Then:
Enable access for bureaucrats and sysops to the Special:Userrights page with the following:

bureaucrats can add bureaucrat, sysop, bot, autopatrol and patrol
bureaucrats can remove bot, autopatrol and patrol

sysops can add and remove autopatrol and patrol

Actually, the same change was implemented on Jan 1st 08 on nowiki (the Norwegian Wikipedia), see bug 11509. The only difference is that sysops on nowikibooks are (going to be) able to remove patrol as well (because the only bureaucrat is inactive).

To make it easy, I've experimented with what JeLuF pasted into his "Done" message, bug 11509 comment 1, although I can't guarantee that this is correct.
Please take a quick look through it. I've edited "nowiki" to "nowikibooks", and added 'patrol', into the sysop section inside wgRemoveGroups. Since bureaucrats also are sysops there might be possible to remove “ 'patrol', 'autopatrol',” from the bureaucrat section, I don't know, you dev's fix that ;)

'groupOverrides' => array(

'nowikibooks' => array(
    'patroller' => array( 'patrol' => true, 'autopatrol' => true,

'rollback' => true ),

    'autopatrolled' => array( 'autopatrol' => true ),
),

),

'wgAddGroups' => array(

'nowikibooks' => array(
        'bureaucrat' => array( 'sysop', 'bureaucrat', 'bot',

'patroller', 'autopatrolled' ),

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

),

'wgRemoveGroups' => array(

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

),

The relevant discussion is here:
http://no.wikibooks.org/wiki/Wikibooks:Samfunnshuset#Patrol.2FAutopatrol

The only comment in it is mine. The reason I'm requesting this is that there are a lot of users who are cooperating with several books, making tons of edits (good ones) and thus hiding potential vandalism. This will filter out the good edits leaving the ones which are to be checked.


Version: unspecified
Severity: enhancement
URL: http://no.wikibooks.org

Details

Reference
bz13853

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:12 PM
bzimport set Reference to bz13853.

H92.wikipedia wrote:

Sorry, there are so many names, which inevitably leads to confusion. I wrote:

The first one called "patrol" (of course without the "s), with the following
abilities:
patrol, autopatrol, rollback

The other one, called "autopatrol" (also without the "s), with the following
ability:
autopatrol

I meant, the first one called "patroller", the other one called "autopatrolled".

Thanks ;)

H92.wikipedia wrote:

Oh and the markbotedits feature for patrollers would be nice too (I actually thought it was included in the rollback feature, but it evidently isn’t).

Sorry for messing this up :S

Component: General -> Site requests

I have added the groups and assignment rights as requested. If there are any questions or concerns, please let me know via this ticket.

Thanks!