r63618 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63617‎ | r63618 | r63619 >
Date:21:25, 11 March 2010
Author:aaron
Status:ok
Tags:
Comment:
Fixed blockip log excerpt permission check (bug 22809). Resulted in excess "all public logs" excerpt.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockip.php
@@ -642,7 +642,7 @@
643643 );
644644
645645 // Add suppression block entries if allowed
646 - if( $wgUser->isAllowed( 'hideuser' ) ) {
 646+ if( $wgUser->isAllowed( 'suppressionlog' ) ) {
647647 LogEventsList::showLogExtract( $out, 'suppress', $title->getPrefixedText(), '',
648648 array(
649649 'lim' => 10,

Status & tagging log