Last modified: 2009-11-01 13:59:11 UTC
Usernames start with a capital letter (in accordance with the regular MediaWiki scheme). And MediaWiki should handle making the first letter a capital letter, even if the user tries to log in in entirely lowercase. E.g. Logging in as 'svip' would change it to 'Svip'. But for some reason, this does not accord if $wgCapitalLinks is set to false on the newest revision of MediaWiki. Instead, such an attempt produces the following error: Fatal error: Call to a member function getName() on a non-object /includes/specials/SpecialUserlogin.php on line 441 To avoid the error, simply logging in the correct case fixes the issue. I assume this bug is trivial, but critical regardless.
The fix would be to add NS_USER to the MWNamespace::alwaysCaptializedNamespaces array (in /includes/Namespace.php), but I do not know if there are any current users with lowercase names that would not be able to log in after this change, hence why I am mentioning it here instead of committing it.
(In reply to comment #1) > but I do not know if there are any current > users with lowercase names that would not be able to log in after this change, > They're not able to log in now, either, and I don't think they ever were.
Should be fixed with r58401