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

       Web browser: ---
             Bug #: 33572
           Summary: User::idFromName should not do a database query for
                    invalid usernames
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


At the moment User::idFromName is doing for each call a database query. Calling
first User::isValidUserName to check, if the user is valid can reduce queries
for ips or invalid users. The title check is also done in that method.

-- 
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