Index: trunk/phase3/includes/User.php |
— | — | @@ -521,7 +521,7 @@ |
522 | 522 | || User::isIP( $name ) |
523 | 523 | || strpos( $name, '/' ) !== false |
524 | 524 | || strlen( $name ) > $wgMaxNameChars |
525 | | - || $name != Title::capitalize( $name, NS_USER ) ) { |
| 525 | + || $name != $wgContLang->ucfirst( $name ) ) { |
526 | 526 | wfDebugLog( 'username', __METHOD__ . |
527 | 527 | ": '$name' invalid due to empty, IP, slash, length, or lowercase" ); |
528 | 528 | return false; |