aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/wikis
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-23 00:11:35 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-23 00:11:35 +0000
commita5031c239ae1ba3b12fe22720994ce4109d4e73f (patch)
treeffd4063f14a4cf643acf641566d9a78b73612b10 /deployment/wikis
parent3460af20ccebdd7ac35a8d12698c4c64353558b4 (diff)
downloadpuppet-a5031c239ae1ba3b12fe22720994ce4109d4e73f.tar
puppet-a5031c239ae1ba3b12fe22720994ce4109d4e73f.tar.gz
puppet-a5031c239ae1ba3b12fe22720994ce4109d4e73f.tar.bz2
puppet-a5031c239ae1ba3b12fe22720994ce4109d4e73f.tar.xz
puppet-a5031c239ae1ba3b12fe22720994ce4109d4e73f.zip
fix wgScriptPath and wgArticlePath
Diffstat (limited to 'deployment/wikis')
-rw-r--r--deployment/wikis/templates/wiki_settings4
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/wikis/templates/wiki_settings b/deployment/wikis/templates/wiki_settings
index 00cb3fa7..d376c9e5 100644
--- a/deployment/wikis/templates/wiki_settings
+++ b/deployment/wikis/templates/wiki_settings
@@ -5,7 +5,7 @@ $wgGroupPermissions['*']['writeapi'] = false;
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['user']['edit'] = true;
-$wgScriptPath = "/mw-<%= name %>";
-$wgArticlePath = "/<%= name %>/$1";
+$wgScriptPath = "/mw-$wgLanguageCode";
+$wgArticlePath = "/$wgLanguageCode/$1";
$wgUsePathInfo = true;