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:
e798403
)
Using UTF-8 compatible ucfirst/lcfirst -- bug fix
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 25 Jan 2004 08:49:45 +0000
(08:49 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 25 Jan 2004 08:49:45 +0000
(08:49 +0000)
includes/MessageCache.php
patch
|
blob
|
history
diff --git
a/includes/MessageCache.php
b/includes/MessageCache.php
index
5b95cef
..
bd06f71
100755
(executable)
--- a/
includes/MessageCache.php
+++ b/
includes/MessageCache.php
@@
-94,9
+94,11
@@
class MessageCache
function getKeys() {
global $wgAllMessagesEn, $wgLang;
- $ucfirst = get_class($wgLang) . "::ucfirst";
if ( !$this->mKeys ) {
- $this->mKeys = array_map( $ucfirst, array_keys( $wgAllMessagesEn ) );
+ $this->mKeys = array();
+ foreach ( $wgAllMessagesEn as $key => $value ) {
+ array_push( $wgLang->ucfirst( $key ), $this->mKeys );
+ }
}
return $this->mKeys;
}