r70391 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70390‎ | r70391 | r70392 >
Date:17:47, 3 August 2010
Author:simetrical
Status:ok
Tags:
Comment:
Use firstChar() in firstLetterForLists()

This will hopefully avoid regression in non-English languages when this
stub starts being used.
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -2991,6 +2991,6 @@
29922992 if ( $string[0] == "\0" ) {
29932993 $string = substr( $string, 1 );
29942994 }
2995 - return strtoupper( mb_substr( $string, 0, 1 ) );
 2995+ return strtoupper( $this->firstChar( $string ) );
29962996 }
29972997 }

Status & tagging log