aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-08-26 22:33:01 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-08-26 22:33:01 +0200
commitce5506d30c7fefaf8e00c71ee98e78dde6ef6638 (patch)
treed2771247e372630b07bbf9870aea66fb44d9a3ea /modules/mediawiki
parent7a5c63515bf0263a9f390055cde411174e168909 (diff)
downloadpuppet-ce5506d30c7fefaf8e00c71ee98e78dde6ef6638.tar
puppet-ce5506d30c7fefaf8e00c71ee98e78dde6ef6638.tar.gz
puppet-ce5506d30c7fefaf8e00c71ee98e78dde6ef6638.tar.bz2
puppet-ce5506d30c7fefaf8e00c71ee98e78dde6ef6638.tar.xz
puppet-ce5506d30c7fefaf8e00c71ee98e78dde6ef6638.zip
Fix upload path
Diffstat (limited to 'modules/mediawiki')
-rw-r--r--modules/mediawiki/templates/LocalSettings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php
index 4cf0c5f8..d7629c48 100644
--- a/modules/mediawiki/templates/LocalSettings.php
+++ b/modules/mediawiki/templates/LocalSettings.php
@@ -99,6 +99,8 @@ $wgShellLocale = "en_US.UTF-8";
# FIXME: Dehardcode that path (maybe via ${wiki_root} if exposed?)
$wgCacheDirectory = "/srv/wiki/<%= path %>/cache";
+$wgUploadDirectory = "/srv/wiki/<%= path %>/images";
+
# This seems mandatory to get the Vector skin to work properly
# https://phabricator.wikimedia.org/T119934
# FIXME: Dehardcode that path (maybe via ${wiki_root} if exposed?)