Reedy has uploaded a new change for review.

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


Change subject: Making $wgAllowUserJs, $wgAllowUserCss, $wgSecureLogin 
configurable per wiki
......................................................................

Making $wgAllowUserJs, $wgAllowUserCss, $wgSecureLogin configurable per wiki

Bug: 46902
Change-Id: Ieef88a12cf396bca66a0f890b0fe4b4e3223751d
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 13 insertions(+), 5 deletions(-)


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

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index d9701b5..7169840 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -513,10 +513,6 @@
 # This converter will only work when rsvg has a suitable security patch
 $wgSVGConverters['rsvg-secure'] = '$path/rsvg-convert --no-external-files -w 
$width -h $height -o $output $input';
 
-$wgAllowUserJs = true;
-$wgAllowUserCss = true;
-$wgSecureLogin = false;
-
 #######################################################################
 # Squid Configuration
 #######################################################################
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index f03ea2d..f397004 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -12430,7 +12430,19 @@
 ),
 'wmgUseAccountAudit' => array(
        'default' => true,
-)
+),
+
+'wgAllowUserJs' => array(
+       'default' => true,
+),
+
+'wgAllowUserCss' => array(
+       'default' => true,
+),
+
+'wgSecureLogin' => array(
+       'default' => false,
+),
 );
 
 

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

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

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

Reply via email to