https://bugzilla.wikimedia.org/show_bug.cgi?id=21369

           Summary: Lowercase logins causes MediaWiki to crash on
                    CapitalLinks set to false
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: User login
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to