Last modified: 2012-08-19 16:09:54 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 T29689, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27689 - store blocker name in User object
store blocker name in User object
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 27613
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-24 19:00 UTC by db [inactive,noenotif]
Modified: 2012-08-19 16:09 UTC (History)
0 users

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


Attachments

Description db [inactive,noenotif] 2011-02-24 19:00:52 UTC
The user object does not store the name of the blocker (database field ipb_user_name).

So User::whoIs( $wgUser->blockedBy() ); is called, but that is a unnecessary select, because you can get the name from the ipblocks table instead.

* ApiQueryUserInfo::getCurrentUserInfo
* Title::checkUserBlock
* OutputPage::blockedPage

Thanks.
Comment 1 db [inactive,noenotif] 2012-08-19 16:09:54 UTC
WONTFIX per bug 31863

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


Navigation
Links