Page MenuHomePhabricator

globaluserinfo should show global blocks
Open, Needs TriagePublic

Description

There doesn't seem to be any way to find out the details of a global block affecting the user without submitting the IP, which might be nontrivial for clients. (With the IP, the globalblocks API can be used.) globaluserinfo (or, arguably, normal userinfo) should display global blocks.

Event Timeline

Tgr created this task.Jul 27 2019, 7:05 AM
Restricted Application added a project: Core Platform Team. · View Herald TranscriptJul 27 2019, 7:05 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jony added a subscriber: Jony.Jul 27 2019, 8:00 AM
Anomie added a subscriber: Anomie.

or, arguably, normal userinfo

If API meta=userinfo&uiprop=blockinfo isn't showing the block info, the bug probably lies somewhere in User::getBlock() or code downstack from there. Whether that's in core or GlobalBlocking's hooks I don't know.