Catrope has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/378183 )

Change subject: Give sysops the flow-create-board right on all wikis with Flow 
in general use
......................................................................

Give sysops the flow-create-board right on all wikis with Flow in general use

Specifically, this means wikis where the Flow beta feature is enabled,
and wikis where Flow occupies one or more entire namespaces.

Also remove manual settings for gomwiki and officewiki
which are now implied by this.

Bug: T175934
Change-Id: Ibfc69ffc34939e3fe45548121a42ab846345d17e
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 7 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/83/378183/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index dcf096e..ce718ca 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2875,6 +2875,12 @@
        }
 
        $wgFlowEnableOptInBetaFeature = $wmgFlowEnableOptInBetaFeature;
+
+       // On wikis that have Flow as a beta feature or in an entire namespace,
+       // give sysops the right to create and move Flow boards
+       if ( $wgFlowEnableOptInBetaFeature || $wmgFlowNamespaces ) {
+               $wgGroupPermissions['sysop']['flow-create-board'] = true;
+       }
 }
 
 if ( $wmgUseDisambiguator ) {
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 648eb92..f375813 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -8593,9 +8593,6 @@
        '+gawiki' => [
                'rollbacker' => [ 'rollback' => true ],
        ],
-       'gomwiki' => [
-               'sysop' => [ 'flow-create-board' => true ], // T139226
-       ],
        'guwiki' => [ // T119787
                'rollbacker' => [ 'rollback' => true ],
                'autopatrolled' => [ 'autopatrol' => true ],
@@ -9035,7 +9032,7 @@
                'communityapps' => [ 'view-community-applications' => true ],
                'flood' => [ 'bot' => true ], // T86237
                'user' => [ 'massmessage' => true, ], // T66978
-               'sysop' => [ 'importupload' => true, 'flow-create-board' => 
true ], // T101663
+               'sysop' => [ 'importupload' => true, ], // T101663
                'securepoll' => [ 'securepoll-create-poll' => true, 
'editinterface' => true ],
        ],
        '+ombudsmenwiki' => [

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfc69ffc34939e3fe45548121a42ab846345d17e
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Catrope <r...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to