From bec59020901ea4fe2835e9d26c38c5f118686c5a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 4 Apr 2009 17:00:01 +0000 Subject: [PATCH] Hide show/hide links for NO_ACTION_LINK --- includes/LogEventsList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index a31124330a..37b5dafeca 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -225,7 +225,7 @@ class LogEventsList { $paramArray = LogPage::extractParams( $row->log_params ); $revert = $del = ''; // Some user can hide log items and have review links - if( $wgUser->isAllowed( 'deleterevision' ) ) { + if( !($this->flags & self::NO_ACTION_LINK) && $wgUser->isAllowed( 'deleterevision' ) ) { $del = $this->getShowHideLinks( $row ) . ' '; } // Add review links and such... -- 2.20.1