r33925 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33924‎ | r33925 | r33926 >
Date:19:54, 26 April 2008
Author:aaron
Status:old
Tags:
Comment:
suppress too
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -232,7 +232,7 @@
233233 $revert = '(' . $this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Undelete' ),
234234 $this->message['undeletelink'], 'target='. urlencode( $title->getPrefixedDBkey() ) ) . ')';
235235 // Show unblock link
236 - } else if( self::typeAction($row,'block','block') && $wgUser->isAllowed( 'block' ) ) {
 236+ } else if( self::typeAction($row,array('block','suppress'),'block') && $wgUser->isAllowed( 'block' ) ) {
237237 $revert = '(' . $this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Ipblocklist' ),
238238 $this->message['unblocklink'],
239239 'action=unblock&ip=' . urlencode( $row->log_title ) ) . ')';

Status & tagging log