r83091 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83090‎ | r83091 | r83092 >
Date:15:03, 2 March 2011
Author:yaron
Status:deferred
Tags:
Comment:
Replaced language message 'may' with 'may_long', to avoid using the three-letter abbreviation
Modified paths:
  • /trunk/extensions/SemanticDrilldown/includes/SD_Utils.php (modified) (history)
  • /trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php
@@ -680,7 +680,8 @@
681681 wfMsgForContent( 'february' ),
682682 wfMsgForContent( 'march' ),
683683 wfMsgForContent( 'april' ),
684 - wfMsgForContent( 'may' ),
 684+ // Needed to avoid using 3-letter abbreviation
 685+ wfMsgForContent( 'may_long' ),
685686 wfMsgForContent( 'june' ),
686687 wfMsgForContent( 'july' ),
687688 wfMsgForContent( 'august' ),
Index: trunk/extensions/SemanticDrilldown/includes/SD_Utils.php
@@ -202,7 +202,8 @@
203203 } elseif ( $month == 4 ) {
204204 return wfMsg( 'april' );
205205 } elseif ( $month == 5 ) {
206 - return wfMsg( 'may' );
 206+ // Needed to avoid using 3-letter abbreviation
 207+ return wfMsg( 'may_long' );
207208 } elseif ( $month == 6 ) {
208209 return wfMsg( 'june' );
209210 } elseif ( $month == 7 ) {
@@ -229,7 +230,7 @@
230231 return 3;
231232 } elseif ( $str == wfMsg( 'april' ) ) {
232233 return 4;
233 - } elseif ( $str == wfMsg( 'may' ) ) {
 234+ } elseif ( $str == wfMsg( 'may_long' ) ) {
234235 return 5;
235236 } elseif ( $str == wfMsg( 'june' ) ) {
236237 return 6;

Status & tagging log