r35511 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35510‎ | r35511 | r35512 >
Date:19:23, 28 May 2008
Author:ialex
Status:old
Tags:
Comment:
Per r35510: here too
Modified paths:
  • /trunk/phase3/includes/SpecialRevisiondelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialRevisiondelete.php
@@ -50,7 +50,7 @@
5151 # does not exist...might be helpful
5252 $wgOut->addHTML( "<h2>" . htmlspecialchars( LogPage::logName( 'delete' ) ) . "</h2>\n" );
5353 LogEventsList::showLogExtract( $wgOut, 'delete', $page->getPrefixedText() );
54 - if( $wgUser->isAllowed( 'suppress' ) ){
 54+ if( $wgUser->isAllowed( 'suppressionlog' ) ){
5555 $wgOut->addHTML( "<h2>" . htmlspecialchars( LogPage::logName( 'suppress' ) ) . "</h2>\n" );
5656 LogEventsList::showLogExtract( $wgOut, 'suppress', $page->getPrefixedText() );
5757 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r35510Rename to 'suppressionlog' so it's more obviousaaron19:18, 28 May 2008

Status & tagging log