dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c9856
)
Use firstChar() in firstLetterForLists()
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 3 Aug 2010 17:47:10 +0000
(17:47 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 3 Aug 2010 17:47:10 +0000
(17:47 +0000)
This will hopefully avoid regression in non-English languages when this
stub starts being used.
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
4003fb1
..
74a7fe0
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-2991,6
+2991,6
@@
class Language {
if ( $string[0] == "\0" ) {
$string = substr( $string, 1 );
}
- return strtoupper(
mb_substr( $string, 0, 1
) );
+ return strtoupper(
$this->firstChar( $string
) );
}
}