From 0c7606141bfcb6b4e68a9c97116e8585e40818d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 20 Apr 2017 15:46:44 +0200 Subject: Enable cache directory, needed for Vector theme --- modules/mediawiki/templates/LocalSettings.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php index 48504737..86b8e2a9 100644 --- a/modules/mediawiki/templates/LocalSettings.php +++ b/modules/mediawiki/templates/LocalSettings.php @@ -95,12 +95,9 @@ $wgShellLocale = "en_US.UTF-8"; ## Set $wgCacheDirectory to a writable directory on the web server ## to make your wiki go slightly faster. The directory should not ## be publically accessible from the web. -#$wgCacheDirectory = "$IP/cache"; - -## Set $wgCacheDirectory to a writable directory on the web server -## to make your wiki go slightly faster. The directory should not -## be publically accessible from the web. -#$wgCacheDirectory = "$IP/cache"; +# This seems actually mandatory to get the Vector skin to work properly +# https://serverfault.com/a/744059 +$wgCacheDirectory = "$wgScriptPath/cache"; # Array of interwiki prefixes for current wiki. $wgLocalInterwikis = array( strtolower( $wgSitename ) ); -- cgit v1.2.1