summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Klinkovsk√Ĺ <j.l.k@gmx.com>2016-07-16 13:33:30 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-07-20 09:14:11 +0200
commit5c93cc0eed19ee88427274e124e3a2aeb3b55eb6 (patch)
tree5f514336c235fd811cabb49f95161aeab7e4da6e
parent06f04a2df473a712b61015db19c4f2da0c9808c3 (diff)
LocalSettings: move $wgAllowUserCssPrefs to relevant section
-rw-r--r--LocalSettings.archlinux.org.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/LocalSettings.archlinux.org.php b/LocalSettings.archlinux.org.php
index 57594b08..7cab6ac7 100644
--- a/LocalSettings.archlinux.org.php
+++ b/LocalSettings.archlinux.org.php
@@ -117,7 +117,7 @@ $wgUserEmailUseReplyTo = true;
##
-## Cache settings
+## Cache and performance settings
##
## Shared memory settings
@@ -135,6 +135,10 @@ $wgFileCacheDirectory = "$IP/../cache/html";
$wgUseGzip = true;
$wgUseETag = true;
+# CSS-based preferences supposedly cause about 20 times slower page loads
+# https://phabricator.wikimedia.org/rSVN63707
+$wgAllowUserCssPrefs = false;
+
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;
@@ -193,7 +197,6 @@ $wgFooterIcons = array();
##
$wgEmailConfirmToEdit = true;
-$wgAllowUserCssPrefs = false;
$wgDisableAnonTalk = true;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['sysop']['deleterevision'] = true;