diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mediawiki/manifests/instance.pp | 6 | ||||
-rw-r--r-- | modules/mediawiki/templates/LocalSettings.php | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/modules/mediawiki/manifests/instance.pp b/modules/mediawiki/manifests/instance.pp index a6ff1047..5b4eef5d 100644 --- a/modules/mediawiki/manifests/instance.pp +++ b/modules/mediawiki/manifests/instance.pp @@ -49,6 +49,12 @@ define mediawiki::instance( $title, mode => '0755', } + file { "${wiki_root}/tmp": + ensure => directory, + owner => apache, + mode => '0755', + } + exec { "wikicreate ${name}": command => "mediawiki-create ${wiki_root}", cwd => $mediawiki::base::root, diff --git a/modules/mediawiki/templates/LocalSettings.php b/modules/mediawiki/templates/LocalSettings.php index a7be19e3..98c9e263 100644 --- a/modules/mediawiki/templates/LocalSettings.php +++ b/modules/mediawiki/templates/LocalSettings.php @@ -100,6 +100,11 @@ $wgShellLocale = "en_US.UTF-8"; # FIXME: Dehardcode that path (maybe via ${wiki_root} if exposed?) $wgCacheDirectory = "/srv/wiki/<%= path %>/cache"; +# 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?) +$wgTmpDirectory = "/srv/wiki/<%= path %>/tmp"; + # Array of interwiki prefixes for current wiki. $wgLocalInterwikis = array( strtolower( $wgSitename ) ); |