From: Erik Moeller Date: Sun, 22 May 2005 05:58:36 +0000 (+0000) Subject: add $wgMetaNamespaceTalk, primarily for Serbian, where talk pages X-Git-Tag: 1.5.0alpha2~128 X-Git-Url: https://git.cyclocoop.org/admin/%22%7B%7Blocalurle:Special:Userlogin%7D%7D/%27%40script%40/%7B%7B%20url_for%28%27static%27%2C%20filename=%27js/%27.%20sinon%28find_in_path%28%27css/leaflet.markercluster.css%27%29%2Cfind_in_path%28_DIR_LIB_GIS.%27plugins/leaflet.markercluster.css%27%29%29%20.%27?a=commitdiff_plain;h=9042b48b516a62baf9a9f9fb56d544624d066a7e;p=lhc%2Fweb%2Fwiklou.git add $wgMetaNamespaceTalk, primarily for Serbian, where talk pages are grammatically different from subject pages --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 118ff6bb6f..78705e3579 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -26,6 +26,7 @@ $wgSitename = 'MediaWiki'; /** Will be same as you set @see $wgSitename */ $wgMetaNamespace = FALSE; + /** URL of the server. It will be automaticly build including https mode */ $wgServer = ''; @@ -536,6 +537,15 @@ $wgUseZhdaemon = false; $wgZhdaemonHost="localhost"; $wgZhdaemonPort=2004; +/** Normally you can ignore this and it will be something + like $wgMetaNamespace . "_talk". In some languages, you + may want to set this manually for grammatical reasons. + It is currently only respected by those languages + where it might be relevant and where no automatic + grammar converter exists. +*/ +$wgMetaNamespaceTalk = false; + # Miscellaneous configuration settings # diff --git a/languages/LanguageSr.php b/languages/LanguageSr.php index bd42ef16f3..082e095fab 100644 --- a/languages/LanguageSr.php +++ b/languages/LanguageSr.php @@ -21,7 +21,7 @@ require_once( "LanguageUtf8.php" ); 2 => "Корисник", 3 => "Разговор_са_корисником", 4 => $wgMetaNamespace, - 5 => "Разговор_о_".$wgMetaNamespace, + 5 => ($wgMetaNamespaceTalk ? $wgMetaNamespaceTalk : "Разговор_о_".$wgMetaNamespace ), 6 => "Слика", 7 => "Разговор_о_слици", 8 => "МедијаВики",