r107854 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107853‎ | r107854 | r107855 >
Date:22:54, 2 January 2012
Author:tstarling
Status:ok
Tags:
Comment:
* Fix for r107559: set $namespaceGenderAliases to an empty array in all languages with fallback=ru but with overridden namespaceNames, so that user namespaces don't get converted to Russian.
* Fix duplicated array keys from r107648.
Modified paths:
  • /trunk/phase3/languages/messages/MessagesAb.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesBa.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesCe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesCrh_cyrl.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesCv.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesKrc.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesLbe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesMhr.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesMrj.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesMyv.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesOs.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesRu.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSah.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesTt_cyrl.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesUdm.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesUk.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesXal.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesMhr.php
@@ -59,6 +59,9 @@
6060 'Категорийын_каҥашымаш' => NS_CATEGORY_TALK,
6161 );
6262
 63+// Remove Russian aliases
 64+$namespaceGenderAliases = array();
 65+
6366 $specialPageAliases = array(
6467 'Preferences' => array( 'Келыштарымаш' ),
6568 'Recentchanges' => array( 'Пытартыш_тӧрлатымаш-влак' ),
Index: trunk/phase3/languages/messages/MessagesMrj.php
@@ -41,6 +41,9 @@
4242 'Категори_кӓнгӓшӹмӓш' => NS_CATEGORY_TALK,
4343 );
4444
 45+// Remove Russian aliases
 46+$namespaceGenderAliases = array();
 47+
4548 $messages = array(
4649 # User preference toggles
4750 'tog-underline' => 'Ажедмӓшвлӓм ыдыралаш',
Index: trunk/phase3/languages/messages/MessagesAb.php
@@ -56,6 +56,9 @@
5757 'Обсуждение_категории' => NS_CATEGORY_TALK
5858 );
5959
 60+// Remove Russian aliases
 61+$namespaceGenderAliases = array();
 62+
6063 $specialPageAliases = array(
6164 'Categories' => array( 'Акатегориақәа' ),
6265 'Mycontributions' => array( 'Архиарақәа' ),
Index: trunk/phase3/languages/messages/MessagesBa.php
@@ -37,6 +37,9 @@
3838 NS_CATEGORY_TALK => 'Категория_б-са_фекер_алышыу',
3939 );
4040
 41+// Remove Russian aliases
 42+$namespaceGenderAliases = array();
 43+
4144 $linkTrail = '/^((?:[a-z]|а|б|в|г|д|е|ё|ж|з|и|й|к|л|м|н|о|п|р|с|т|у|ф|х|ц|ч|ш|щ|ъ|ы|ь|э|ю|я|ә|ө|ү|ғ|ҡ|ң|ҙ|ҫ|һ|“|»)+)(.*)$/sDu';
4245
4346 $messages = array(
Index: trunk/phase3/languages/messages/MessagesCrh_cyrl.php
@@ -62,6 +62,8 @@
6363 'Kategoriya_muzakeresi' => NS_CATEGORY_TALK
6464 );
6565
 66+// Remove Russian aliases
 67+$namespaceGenderAliases = array();
6668
6769 $datePreferences = array(
6870 'default',
Index: trunk/phase3/languages/messages/MessagesRu.php
@@ -101,8 +101,8 @@
102102 );
103103
104104 $namespaceGenderAliases = array(
105 - NS_USER => array( 'female' => 'Участник', 'female' => 'Участница' ),
106 - NS_USER_TALK => array( 'female' => 'Обсуждение_участника', 'female' => 'Обсуждение_участницы' ),
 105+ NS_USER => array( 'male' => 'Участник', 'female' => 'Участница' ),
 106+ NS_USER_TALK => array( 'male' => 'Обсуждение_участника', 'female' => 'Обсуждение_участницы' ),
107107 );
108108
109109 $dateFormats = array(
Index: trunk/phase3/languages/messages/MessagesMyv.php
@@ -39,6 +39,9 @@
4040 NS_CATEGORY_TALK => 'Категориядо кортамось',
4141 );
4242
 43+// Remove Russian aliases
 44+$namespaceGenderAliases = array();
 45+
4346 $specialPageAliases = array(
4447 'Allmessages' => array( 'ВесеПачтямнэть' ),
4548 'Allpages' => array( 'ВесеЛопат' ),
Index: trunk/phase3/languages/messages/MessagesXal.php
@@ -52,6 +52,9 @@
5353 'Янзин_тускар_ухалвр' => NS_CATEGORY_TALK,
5454 );
5555
 56+// Remove Russian aliases
 57+$namespaceGenderAliases = array();
 58+
5659 $messages = array(
5760 # User preference toggles
5861 'tog-underline' => 'Заалһиг татас татх:',
Index: trunk/phase3/languages/messages/MessagesLbe.php
@@ -39,6 +39,9 @@
4040 NS_CATEGORY_TALK => 'Категориялиясса_ихтилат',
4141 );
4242
 43+// Remove Russian aliases
 44+$namespaceGenderAliases = array();
 45+
4346 $linkTrail = '/^([a-zабвгдеёжзийклмнопрстуфхцчшщъыьэюяӀ1“»]+)(.*)$/sDu';
4447
4548 $messages = array(
Index: trunk/phase3/languages/messages/MessagesUdm.php
@@ -35,6 +35,9 @@
3636 NS_CATEGORY_TALK => 'Категория_сярысь_вераськон',
3737 );
3838
 39+// Remove Russian aliases
 40+$namespaceGenderAliases = array();
 41+
3942 $linkTrail = '/^([a-zа-яёӝӟӥӧӵ“»]+)(.*)$/sDu';
4043 $fallback8bitEncoding = 'windows-1251';
4144 $separatorTransformTable = array( ',' => ' ', '.' => ',' );
Index: trunk/phase3/languages/messages/MessagesSah.php
@@ -37,6 +37,9 @@
3838 'Ойуу_ырытыыта' => NS_FILE_TALK,
3939 );
4040
 41+// Remove Russian aliases
 42+$namespaceGenderAliases = array();
 43+
4144 $messages = array(
4245 # User preference toggles
4346 'tog-underline' => 'Ыйынньыктары аннынан тардыы:',
Index: trunk/phase3/languages/messages/MessagesTt_cyrl.php
@@ -108,6 +108,9 @@
109109 'Törkem_bäxäse' => NS_CATEGORY_TALK,
110110 );
111111
 112+// Remove Russian aliases
 113+$namespaceGenderAliases = array();
 114+
112115 $specialPageAliases = array(
113116 'Activeusers' => array( 'Актив_кулланучылар' ),
114117 'Allmessages' => array( 'Барлык_хатлар' ),
Index: trunk/phase3/languages/messages/MessagesCe.php
@@ -58,6 +58,9 @@
5959 'Тобан_дийца' => NS_CATEGORY_TALK
6060 );
6161
 62+// Remove Russian aliases
 63+$namespaceGenderAliases = array();
 64+
6265 $magicWords = array(
6366 'redirect' => array( '0', '#дlасахьажайар\'', '\'#хьажайо\'', '\'#REDIRECT', '#перенаправление', '#перенапр', '#REDIRECT' ),
6467 'notoc' => array( '0', '__БАЦ_ЧУЛАЦАМ__', '__БАЦ_ЧУЛ__', '__БЕЗ_ОГЛАВЛЕНИЯ__', '__БЕЗ_ОГЛ__', '__NOTOC__' ),
Index: trunk/phase3/languages/messages/MessagesKrc.php
@@ -35,6 +35,9 @@
3636 NS_CATEGORY_TALK => 'Категорияны_сюзюу',
3737 );
3838
 39+// Remove Russian aliases
 40+$namespaceGenderAliases = array();
 41+
3942 $messages = array(
4043 # User preference toggles
4144 'tog-underline' => 'Джибериулени черт:',
Index: trunk/phase3/languages/messages/MessagesUk.php
@@ -81,6 +81,9 @@
8282 'Обговорення_шаблона' => NS_TEMPLATE_TALK,
8383 );
8484
 85+// Remove Russian aliases
 86+$namespaceGenderAliases = array();
 87+
8588 $dateFormats = array(
8689 'mdy time' => 'H:i',
8790 'mdy date' => 'xg j, Y',
Index: trunk/phase3/languages/messages/MessagesCv.php
@@ -37,6 +37,9 @@
3838 NS_CATEGORY_TALK => 'Категорине_сӳтсе_явмалли',
3939 );
4040
 41+// Remove Russian aliases
 42+$namespaceGenderAliases = array();
 43+
4144 $linkTrail = '/^([a-zа-яĕçăӳ"»]+)(.*)$/sDu';
4245
4346 $messages = array(
Index: trunk/phase3/languages/messages/MessagesOs.php
@@ -49,6 +49,9 @@
5050 'Категорийы_тыххæй_дискусси' => NS_CATEGORY_TALK,
5151 );
5252
 53+// Remove Russian aliases
 54+$namespaceGenderAliases = array();
 55+
5356 $magicWords = array(
5457 'redirect' => array( '0', '#РАРВЫСТ', '#перенаправление', '#перенапр', '#REDIRECT' ),
5558 'img_right' => array( '1', 'рахиз', 'справа', 'right' ),

Follow-up revisions

RevisionCommit summaryAuthorDate
r107855MFT r107854: Russian $namespaceGenderAliases fixeststarling23:00, 2 January 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107559Gender aliases for user and user talk pages.amire8011:03, 29 December 2011
r107648Follow up to r107645, corrected Russian.amire8019:05, 30 December 2011

Status & tagging log