From: Pavel Selitskas
Date: Wed, 28 Nov 2012 19:31:35 +0000 (+0300)
Subject: Genderize be-tarask namespaces, fix spaces in definitions
X-Git-Tag: 1.31.0-rc.0~21480
X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=3370ceaa8554927ad8b05dcd8aecf601f1f18834;p=lhc%2Fweb%2Fwiklou.git
Genderize be-tarask namespaces, fix spaces in definitions
Previously, gender-related namespace aliases existed,
but $wgExtraGenderNamespaces wasn't used at all.
Also, spaces replaced with underscores in alias definitions
where needed.
Change-Id: Idc5e9e6928a21c8e5fb20aba9aae0a93acee71d3
---
diff --git a/languages/messages/MessagesBe_tarask.php b/languages/messages/MessagesBe_tarask.php
index d1f83b4bfc..87b6e330e2 100644
--- a/languages/messages/MessagesBe_tarask.php
+++ b/languages/messages/MessagesBe_tarask.php
@@ -41,11 +41,14 @@ $namespaceNames = array(
);
$namespaceAliases = array(
- 'УдзелÑнÑÑа' => NS_USER,
- 'ÐÑÑаÑÐºÑ ÑдзелÑнÑÑÑ' => NS_USER_TALK,
- 'ÐбмеÑкаванÑне_$1' => NS_PROJECT_TALK,
+ 'ÐбмеÑкаванÑне_$1' => NS_PROJECT_TALK, // legacy support for old non-inflected links
'ÐÑÑва' => NS_FILE,
- 'ÐбмеÑкаванÑне вÑÑвÑ' => NS_FILE_TALK,
+ 'ÐбмеÑкаванÑне_вÑÑвÑ' => NS_FILE_TALK,
+);
+
+$namespaceGenderAliases = array(
+ NS_USER => array( 'male' => 'УдзелÑнÑк', 'female' => 'УдзелÑнÑÑа' ),
+ NS_USER_TALK => array( 'male' => 'ÐÑÑаÑкÑ_ÑдзелÑнÑка', 'female' => 'ÐÑÑаÑкÑ_ÑдзелÑнÑÑÑ' ),
);
$specialPageAliases = array(