Page MenuHomePhabricator

Globally blocked IPs should have a box with block info on Special:Contributions
Closed, ResolvedPublic

Description

Just like for local blocks, a box titled "This IP address is currently *globally* blocked. The latest block log entry is provided below for reference:" should appear on Special:Contributions for IPs which are currently gblocked.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52674

Details

Reference
bz52673

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:02 AM
bzimport added a project: GlobalBlocking.
bzimport set Reference to bz52673.

For the records, what's the current discoverability of the information? One has to access Special:Block for the IP, right? Or intentionally check Special:GlobalBlockList.

That's the case. Special:Block itself doesn't provide details on a global block except for its existence, only a link to Special:GlobalBlockList.

This is easy to do for when you're viewing IP addresses on meta, however the log entries don't exist on other wikis, so there would be nothing to display really.

Well, but can't it be fetched somehow? Maybe via the local GlobalBlockList which is able to know of gblocks?

Right, sorry, I should have been more specific. It is possible to do, just not as easy ;)

I lied, this actually isn't that difficult. First step is Ie196611d504b3969bcdfb5c589716af2f3c54e14, which will allow us to output the information in the first place.

After that, we just need to get the information from the globalblocking database and format it nicely.

Change 133986 had a related patch set uploaded by Gerrit Patch Uploader:
Show global blocks on Special:Contributions

https://gerrit.wikimedia.org/r/133986

Change 133986 merged by jenkins-bot:
Show global blocks on Special:Contributions

https://gerrit.wikimedia.org/r/133986

Shouldn't this appear on all wikis, not just Meta? See [[m:Special:Contributions/62.210.45.226]] & [[Special:Contributions/62.210.45.226]].

Nevermind, 1.24wmf7 gets rolled out to WPs today.