Index: trunk/phase3/includes/User.php |
— | — | @@ -693,8 +693,9 @@ |
694 | 694 | * - 'creatable' Valid for batch processes, login and account creation |
695 | 695 | */ |
696 | 696 | static function getCanonicalName( $name, $validate = 'valid' ) { |
697 | | - # Maybe force usernames to capital |
698 | | - $name = Title::capitalize( $name, NS_USER ); |
| 697 | + # Force usernames to capital |
| 698 | + global $wgContLang; |
| 699 | + $name = $wgContLang->ucfirst( $name ); |
699 | 700 | |
700 | 701 | # Reject names containing '#'; these will be cleaned up |
701 | 702 | # with title normalisation, but then it's too late to |