aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mediawiki')
-rw-r--r--modules/mediawiki/templates/LocalSettings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php
index 86b8e2a9..a7be19e3 100644
--- a/modules/mediawiki/templates/LocalSettings.php
+++ b/modules/mediawiki/templates/LocalSettings.php
@@ -97,7 +97,8 @@ $wgShellLocale = "en_US.UTF-8";
## be publically accessible from the web.
# This seems actually mandatory to get the Vector skin to work properly
# https://serverfault.com/a/744059
-$wgCacheDirectory = "$wgScriptPath/cache";
+# FIXME: Dehardcode that path (maybe via ${wiki_root} if exposed?)
+$wgCacheDirectory = "/srv/wiki/<%= path %>/cache";
# Array of interwiki prefixes for current wiki.
$wgLocalInterwikis = array( strtolower( $wgSitename ) );