User:Firefly/more-block-info

This script works around some limitations with MediaWiki's default block display on contributions pages.

Specifically, overlapping IP rangeblocks are not displayed - if the range 192.168.0.0/24 is blocked and the individual IP 192.168.0.1 is blocked, only the specific block on 192.168.0.1 would show on that IP's contributions page.

With this script installed, you will see an additional blue "blocks" box displaying any rangeblocks affecting IPs on their contributions pages. It pulls the data in asynchronously, so it may take a second to appear.

In addition, it also displays the full lock summary for Global locks in a blue box if an account is locked in a similar fashion to a block, replacing the "this account is locked" box.