Fix permissions check to show "hide" buttons.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sun, 22 Jul 2012 20:14:21 +0000 (22:14 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 23 Jul 2012 07:41:13 +0000 (09:41 +0200)
commit4af0248a84dfec3c00a63334fa4cdd19b901f00e
tree2fc2054560feccba15a24490efc3dbe830cf1269
parentf8de6a713737dbd5a644fe9e60d89996766b095a
Fix permissions check to show "hide" buttons.

The 'deletedhistory' is needed to access Special:RevisionDelete
and LogEventsList already checks for that right, but not
Special:Log. This caused the user to see "Hide log entries"
buttons when they had the 'deletelogentry' but not the
'deletedhistory', which was not correct.

Change-Id: Ie6274b30ffb98e2376d14e6fcac525f901d14f3d
includes/specials/SpecialLog.php