]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wiki/templates/default/before_extensions.php.erb
split configuration in two, include new templates
[chef.git] / cookbooks / wiki / templates / default / before_extensions.php.erb
similarity index 92%
rename from cookbooks/wiki/templates/default/LocalSettings.php.erb
rename to cookbooks/wiki/templates/default/before_extensions.php.erb
index bcef00d0e4b5ac06993b30c5b95c1f4aba3cae4c..6159c9a04d79588b910d85820367596dfe1b21b9 100644 (file)
@@ -6,6 +6,8 @@ if ( !defined( 'MEDIAWIKI' ) ) {
        exit;
 }
 
+# configuration loaded before the extensions
+
 # DE
 define('NS_LANG_DE', 200);
 $wgExtraNamespaces[NS_LANG_DE] = 'DE';
@@ -88,3 +90,6 @@ $wgNamespacesToBeSearchedDefault[NS_LANG_NL] = TRUE;
 $wgNamespacesToBeSearchedDefault[NS_LANG_RU] = TRUE;
 $wgNamespacesToBeSearchedDefault[NS_LANG_JA] = TRUE;
 $wgNamespacesToBeSearchedDefault[NS_PROPOSAL] = TRUE;
+
+# defines which links of the sidebar are translatable 
+$wgForceUIMsgAsContentMsg = array( 'mainpage-url', 'mapfeatures-url', 'contributors-url', 'helppage', 'blogs-url', 'shop-url', 'sitesupport-url' );