(bug 35839) Check permisions for revdel blocks
authorcsteipp <csteipp@wikimedia.org>
Wed, 8 Aug 2012 17:04:10 +0000 (10:04 -0700)
committercsteipp <csteipp@wikimedia.org>
Tue, 14 Aug 2012 14:08:08 +0000 (07:08 -0700)
commit764716c641816516195255512a058d49918f6154
tree00d981f60d96465277d14e0c690f8e176a2e63e8
parentef498e793e53b30560ec717601b51b7cdec2bdae
(bug 35839) Check permisions for revdel blocks

If a block includes the "Hide username" to revdel the username, check
that the user has permission to 'hideuser' before showing the reason
for the block.

Other metadata about the block (expiration, limits) will still be visible
to admins.

Change-Id: I50a49ea6876b99a944d27f7c34910f0aa47556c3
includes/specials/SpecialBlock.php