adjust staging wiki for some theme testing

This commit is contained in:
Kevin Fenzi 2016-09-20 15:50:06 +00:00
parent 5e5354b86b
commit 73a8398744
2 changed files with 9 additions and 2 deletions

View file

@ -188,8 +188,8 @@ $wgProxyKey = "b957b9365f724d22f666998b751507c551c66484bf75b1cc33802a67e92b0827"
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
{% if env == "staging" %}
wfLoadSkin( 'MonoBook' );
$wgDefaultSkin = 'MonoBook';
wfLoadSkin( 'Fedora' );
$wgDefaultSkin = 'Fedora';
{% else %}
$wgDefaultSkin = 'fedora';
{% endif %}

View file

@ -18,3 +18,10 @@ Alias /{{ wikipath }} /srv/web/{{ wikiname }}-wiki/index.php
</IfModule>
</Directory>
{% if env == "staging" %}
<Directory /mnt/web/attachments>
Options SymLinksIfOwnerMatch
AllowOverride None
Require all granted
</Directory>
{% endif %}