https://bugzilla.wikimedia.org/show_bug.cgi?id=72055

--- Comment #1 from Samat <[email protected]> ---
I forgot that
5. Please add the templateeditor right to sysop user group (able to edit the
templateeditor protection level).
----

I am not an expert at all, but I tried to prepare the changes in the
configuration files.

The change in flaggedrevs.php maybe looks like this:

unset( $wgGroupPermissions['autoreview'] ); // bug 72055


The change in initialiseSettings.php is probably something like this:

* add to wgAddGroups the following lines:

    '+huwiki' => array(
        'bureaucrat' => array( 'templateeditor' ), // bug 72055
    ),

* change wgRemoveGroups from the actual setting to this:

    '+huwiki' => array(
        'bureaucrat' => array( 'sysop', 'bureaucrat', 'templateeditor' ), //
bug 72055
    ),

* add to wgRestrictionLevels the following line:

    'huwiki' => array( '', 'autoconfirmed', 'templateeditor', 'sysop',
'superprotect' ), // bug 72055

* change groupOverrides to the following settings:

    'huwiki' => array(
        'editor' => array( 'noratelimit' => true ),
        'sysop' => array(
            'deleterevision' => true,
            'templateeditor' => true, // bug 72055
        ),
        'user' => array( 'upload' => true ), // bug 28576
        'templateeditor' => array( 'templateeditor' => true ), // bug 72055
    ),

Please let me know if you had any question.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to