Last modified: 2012-01-11 16:29:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35572, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33572 - User::idFromName should not do a database query for invalid usernames
User::idFromName should not do a database query for invalid usernames
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-06 23:24 UTC by db [inactive,noenotif]
Modified: 2012-01-11 16:29 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description db [inactive,noenotif] 2012-01-06 23:24:45 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links