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.
Description
Description
Related Objects
Related Objects
- Mentioned Here
- T17294: Allow blocking of global accounts
Event Timeline
Comment Actions
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.
Comment Actions
Testing locally suggests that you can now use userinfo to find the global block when logged out:
As to globaluserinfo, it doesn't seem possible to use it when logged out as I got the following error:
Comment Actions
Based on the above, I will resolve this task as there is now a way to find the global block that affects the current user. I also tested this for an account (due to work on T17294) and it also worked.