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:
c319cc8
)
Back out the bit of r57558 for allowing lowercased usernames. That needs more testing.
author
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 9 Oct 2009 13:01:16 +0000
(13:01 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 9 Oct 2009 13:01:16 +0000
(13:01 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
a5a5423
..
ffc0963
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-521,7
+521,7
@@
class User {
|| User::isIP( $name )
|| strpos( $name, '/' ) !== false
|| strlen( $name ) > $wgMaxNameChars
- || $name !=
Title::capitalize( $name, NS_USER
) ) {
+ || $name !=
$wgContLang->ucfirst( $name
) ) {
wfDebugLog( 'username', __METHOD__ .
": '$name' invalid due to empty, IP, slash, length, or lowercase" );
return false;