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:
d0b0824
)
Correct behaviour for title-case key input.
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 7 Jan 2007 14:22:32 +0000
(14:22 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 7 Jan 2007 14:22:32 +0000
(14:22 +0000)
includes/MessageCache.php
patch
|
blob
|
history
diff --git
a/includes/MessageCache.php
b/includes/MessageCache.php
index
830840b
..
0073b2e
100644
(file)
--- a/
includes/MessageCache.php
+++ b/
includes/MessageCache.php
@@
-444,6
+444,9
@@
class MessageCache {
$message = false;
+ # Normalise title-case input
+ $key = $wgContLang->lcfirst( $key );
+
# Try the MediaWiki namespace
if( !$this->mDisable && $useDB ) {
$title = $wgContLang->ucfirst( $key );