From 90cecb1e3ca730eb8e3985ea2d58aaa24f3ca216 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 9 Oct 2009 13:01:16 +0000 Subject: [PATCH] Back out the bit of r57558 for allowing lowercased usernames. That needs more testing. --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index a5a5423cab..ffc0963700 100644 --- 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; -- 2.20.1