aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-20 15:46:44 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-04-20 15:46:47 +0200
commit0c7606141bfcb6b4e68a9c97116e8585e40818d8 (patch)
tree9bda29846a6fb6b4ed4649962b1368a96cbac7af
parent8513f835088eae9af6d7c67584569c2548823222 (diff)
downloadpuppet-0c7606141bfcb6b4e68a9c97116e8585e40818d8.tar
puppet-0c7606141bfcb6b4e68a9c97116e8585e40818d8.tar.gz
puppet-0c7606141bfcb6b4e68a9c97116e8585e40818d8.tar.bz2
puppet-0c7606141bfcb6b4e68a9c97116e8585e40818d8.tar.xz
puppet-0c7606141bfcb6b4e68a9c97116e8585e40818d8.zip
Enable cache directory, needed for Vector theme
-rw-r--r--modules/mediawiki/templates/LocalSettings.php9
1 files changed, 3 insertions, 6 deletions
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 ) );