r97804 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97803‎ | r97804 | r97805 >
Date:09:21, 22 September 2011
Author:santhosh
Status:ok (Comments)
Tags:
Comment:
Add number grouping pattern. Ref Bug 29495. Ml and Hi added in r97793
Modified paths:
  • /trunk/phase3/languages/messages/MessagesAs.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesBn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesGu.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesKn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesMr.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesOr.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesPa.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSa.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesTa.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesTe.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesMr.php
@@ -295,6 +295,8 @@
296296
297297 $linkTrail = "/^([\xE0\xA4\x80-\xE0\xA5\xA3\xE0\xA5\xB1-\xE0\xA5\xBF\xEF\xBB\xBF\xE2\x80\x8D]+)(.*)$/sDu";
298298
 299+$digitGroupingPattern = "##,##,###";
 300+
299301 $messages = array(
300302 # User preference toggles
301303 'tog-underline' => 'दुव्यांना अधोरेखित करा:',
Index: trunk/phase3/languages/messages/MessagesKn.php
@@ -52,6 +52,8 @@
5353 '9' => '೯', # ೯
5454 );
5555
 56+$digitGroupingPattern = "##,##,###";
 57+
5658 $messages = array(
5759 # User preference toggles
5860 'tog-underline' => 'ಲಿಂಕುಗಳ ಕೆಳಗೆ ಗೆರೆ ತೋರಿಸಿ',
Index: trunk/phase3/languages/messages/MessagesAs.php
@@ -108,6 +108,8 @@
109109 '9' => '৯', # ৯
110110 );
111111
 112+$digitGroupingPattern = "##,##,###";
 113+
112114 $messages = array(
113115 # User preference toggles
114116 'tog-underline' => 'সংযোগ সমূহ অধোৰেখিত কৰক:',
Index: trunk/phase3/languages/messages/MessagesBn.php
@@ -61,6 +61,8 @@
6262 '9' => '৯'
6363 );
6464
 65+$digitGroupingPattern = "##,##,###";
 66+
6567 $messages = array(
6668 # User preference toggles
6769 'tog-underline' => 'সংযোগগুলির নিচে দাগ দেখানো হোক:',
Index: trunk/phase3/languages/messages/MessagesSa.php
@@ -267,6 +267,8 @@
268268 'protectionlevel' => array( '1', 'रक्षास्तर', 'PROTECTIONLEVEL' ),
269269 );
270270
 271+$digitGroupingPattern = "##,##,###";
 272+
271273 $messages = array(
272274 # User preference toggles
273275 'tog-underline' => 'संबंधनानि अधोरेखितानि करोतु',
Index: trunk/phase3/languages/messages/MessagesOr.php
@@ -241,6 +241,8 @@
242242 'url_query' => array( '0', 'ପ୍ରଶ୍ନ', 'QUERY' ),
243243 );
244244
 245+$digitGroupingPattern = "##,##,###";
 246+
245247 $messages = array(
246248 # User preference toggles
247249 'tog-underline' => 'ତଳେ ଥିବା ଲିଙ୍କ:',
Index: trunk/phase3/languages/messages/MessagesPa.php
@@ -48,6 +48,8 @@
4949 );
5050 $linkTrail = '/^([ਁਂਃਅਆਇਈਉਊਏਐਓਔਕਖਗਘਙਚਛਜਝਞਟਠਡਢਣਤਥਦਧਨਪਫਬਭਮਯਰਲਲ਼ਵਸ਼ਸਹ਼ਾਿੀੁੂੇੈੋੌ੍ਖ਼ਗ਼ਜ਼ੜਫ਼ੰੱੲੳa-z]+)(.*)$/sDu';
5151
 52+$digitGroupingPattern = "##,##,###";
 53+
5254 $messages = array(
5355 # User preference toggles
5456 'tog-underline' => 'ਅੰਡਰ-ਲਾਈਨ ਲਿੰਕ:',
Index: trunk/phase3/languages/messages/MessagesGu.php
@@ -134,6 +134,8 @@
135135 '9' => '૯', # ૯
136136 );
137137
 138+$digitGroupingPattern = "##,##,###";
 139+
138140 $messages = array(
139141 # User preference toggles
140142 'tog-underline' => 'કડીઓની નીચે લીટી (અંડરલાઇન) ઉમેરો:',
Index: trunk/phase3/languages/messages/MessagesTa.php
@@ -68,6 +68,8 @@
6969
7070 $linkTrail = "/^([\xE0\xAE\x80-\xE0\xAF\xBF]+)(.*)$/sDu";
7171
 72+$digitGroupingPattern = "##,##,###";
 73+
7274 $messages = array(
7375 # User preference toggles
7476 'tog-underline' => 'இணைப்புகளுக்கு அடிக்கோடிடு',
Index: trunk/phase3/languages/messages/MessagesTe.php
@@ -138,6 +138,8 @@
139139
140140 $linkTrail = "/^([\xE0\xB0\x81-\xE0\xB1\xAF]+)(.*)$/sDu";
141141
 142+$digitGroupingPattern = "##,##,###";
 143+
142144 $messages = array(
143145 # User preference toggles
144146 'tog-underline' => 'లంకె క్రీగీత:',

Follow-up revisions

RevisionCommit summaryAuthorDate
r981441.17wmf1: MFT r97606, r97609, r97644, r97793, r97804, r97962, r98006, r98023catrope17:21, 26 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97793Add support for Number grouping(commafy) based on CLDR number grouping patter...santhosh05:01, 22 September 2011

Comments

#Comment by G.Hagedorn (talk | contribs)   20:17, 26 September 2011

please consider tagging for 1.18 as well.

#Comment by G.Hagedorn (talk | contribs)   20:19, 26 September 2011

8since added to 1.18wmf)

Status & tagging log