Prevent Special:Contributions from indicating that an IP address is autoblocked
authorKunal Mehta <legoktm@gmail.com>
Tue, 16 Jul 2013 05:28:17 +0000 (22:28 -0700)
committerKunal Mehta <legoktm@gmail.com>
Tue, 16 Jul 2013 05:35:11 +0000 (22:35 -0700)
commitdc2966bd05b69321300c63fd0bd78e7c78ecea6e
tree12df329d967dc97048b38db77a41593ed19e1289
parent17ee7becb2ae4db391d6b3d8901121e6f67a6f01
Prevent Special:Contributions from indicating that an IP address is autoblocked

If an IP address was autoblocked in the userlinks, sysops would see
"change block" and "unblock", indicating that the IP is autoblocked.

Now Special:Contributions will only display "change block" if the user
is blocked and the block type is not Block::TYPE_AUTO. This is the same
check which is used above when deciding whether to display the
block log extract.

Bug: 46457
Change-Id: I43047059cb67527d5296322ac17fe798db917bec
includes/specials/SpecialContributions.php