Reedy has submitted this change and it was merged.

Change subject: New setting: wgCascadingRestrictionLevels
......................................................................


New setting: wgCascadingRestrictionLevels

Change I5f8bcc89 introduced a new setting, $wgCascadingRestrictionLevels.
This change implements it in the Wikimedia wikis' configuration.

Goal .............. Define the levels of a cascading protection
Default value ..... sysop (current behavior)
Custom values ..... pl: editor, sysop (per bug 48374 request)

Change-Id: I91826148149b86413a7a6a2e20d21289d79b52bc
---
M wmf-config/InitialiseSettings.php
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Reedy: Verified; Looks good to me, approved



diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index e1cb573..9883984 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -4131,6 +4131,11 @@
 ),
 # @} end of wgRestrictionLevels
 
+'wgCascadingRestrictionLevels' => array(
+       'default' => array( 'sysop' ),
+       'plwiki' => array( 'editor', 'sysop' ), // Bug 48374
+),
+
 'wgSiteNotice' => array(
        'default' => '',
 ),

-- 
To view, visit https://gerrit.wikimedia.org/r/63425
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I91826148149b86413a7a6a2e20d21289d79b52bc
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Dereckson <[email protected]>
Gerrit-Reviewer: Dereckson <[email protected]>
Gerrit-Reviewer: Matmarex <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to