Reedy has submitted this change and it was merged.
Change subject: (bug 46990) Add the 'editor' restriction level on pl.wikipedia
......................................................................
(bug 46990) Add the 'editor' restriction level on pl.wikipedia
This change adds the 'editor' restriction level on pl.wikipedia,
in between the 'autoconfirmed' and 'sysop' protection levels, so
that pages can only be edited by users belonging to the 'editor'
group.
As far as user rights are concerned, this commit:
* Gives the 'editor' right to the 'editor' group so that they
can actually edit pages protected on that middle level;
* Gives the right to the sysop group, so that when a sysop
removes themselves from the 'editor' group, they can still
protect pages to that middle level and edit them;
** This isn't exactly necessary, as all pl.wikipedia sysops
also belong to the 'editor' group, but just in case...
* Gives the 'editor' right to the 'bot' group;
* Assumes that all bureaucrats also belong to the 'sysop'
group.
Bug: 46990
Change-Id: I8c93544133e2327c554ebb1c2af6466042ed2bc7
---
M wmf-config/InitialiseSettings.php
1 file changed, 5 insertions(+), 3 deletions(-)
Approvals:
Reedy: Verified; Looks good to me, approved
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 6e86df6..e1fff8c 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -4074,6 +4074,7 @@
# wgRestrictionLevels @{
'wgRestrictionLevels' => array(
'default' => array( '', 'autoconfirmed', 'sysop' ), // semi-protection
level on
+ 'plwiki' => array( '', 'autoconfirmed', 'editor', 'sysop' ), // bug
46990
'ptwiki' => array( '', 'autoconfirmed', 'autoreviewer', 'sysop' ), //
http://bugzilla.wikimedia.org/show_bug.cgi?id=39652
),
# @} end of wgRestrictionLevels
@@ -7243,9 +7244,10 @@
'plwiki' => array(
'user' => array( 'upload' => false ),
'autoconfirmed' => array( 'upload' => true ),
- 'editor' => array( 'rollback' => true, 'patrolmarks' => true ),
// https://bugzilla.wikimedia.org/show_bug.cgi?id=20154
- 'flood' => array( 'bot' => true ), //
https://bugzilla.wikimedia.org/show_bug.cgi?id=20155
- 'sysop' => array( 'deleterevision' => true ),
+ 'editor' => array( 'rollback' => true, 'patrolmarks' => true,
'editor' => true ), // bug 20154 and 46990
+ 'flood' => array( 'bot' => true ), // bug 20155
+ 'sysop' => array( 'deleterevision' => true, 'editor' => true ),
// bug 46990
+ 'bot' => array( 'editor' => true ), // bug 46990
),
'plwikiquote' => array(
'patroller' => array( 'patrol' => true, 'autopatrol' => true,
), // http://bugzilla.wikimedia.org/show_bug.cgi?id=28479
--
To view, visit https://gerrit.wikimedia.org/r/58038
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8c93544133e2327c554ebb1c2af6466042ed2bc7
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Odder <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Asher <[email protected]>
Gerrit-Reviewer: Matmarex <[email protected]>
Gerrit-Reviewer: Nemo bis <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits