TTO has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/116057

Change subject: Allow more upload file types for sewikimedia sysops
......................................................................

Allow more upload file types for sewikimedia sysops

Restricting uploads to sysops and allowing a whole lot of useful file types
by setting wmgPrivateWikiUploads to true for this wiki.

Bug: 61947
Change-Id: I5106d20b4e277af3d0ca91aba33f366c524971bd
---
M wmf-config/InitialiseSettings.php
1 file changed, 14 insertions(+), 4 deletions(-)


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

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 8954788..ba7ba61 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7350,10 +7350,22 @@
                ),
                'user' => array(
                        'upload' => false,
+                       'reupload' => false,
+                       'reupload-own' => false,
+                       'reupload-shared' => false,
                        'editallpages' => true, // Bug 39671
                ),
-               'sysop' => array(
+               'autoconfirmed' => array(
                        'upload' => false,
+                       'reupload' => false,
+                       'reupload-own' => false,
+                       'reupload-shared' => false,
+               ),
+               'sysop' => array(
+                       'upload' => true, // bug 61947
+                       'reupload' => true,
+                       'reupload-own' => true,
+                       'reupload-shared' => true,
                        'editallpages' => true,
                ),
                'medlem' => array(
@@ -7363,9 +7375,6 @@
                        'edit' => true,
                        'createpage' => true,
                        'createtalk' => true,
-                       'upload' => true,
-                       'reupload' => true,
-                       'reupload-shared' => true,
                        'minoredit' => true,
                        'purge' => true,
                        'editallpages' => true,
@@ -9216,6 +9225,7 @@
        'private' => true,
        'donatewiki' => true, // whee restricted site
        'foundationwiki' => true, // whee restricted site
+       'sewikimedia' => true, // chapter site, only sysops can upload, bug 
61947
 ),
 
 // Note that changing this for wikis with CirrusSearch will remove pages in the

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5106d20b4e277af3d0ca91aba33f366c524971bd
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: TTO <[email protected]>

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

Reply via email to