r56269 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56268‎ | r56269 | r56270 >
Date:16:02, 13 September 2009
Author:aaron
Status:ok
Tags:
Comment:
Removed redundant show/hide clutter
Modified paths:
  • /trunk/phase3/includes/HistoryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HistoryPage.php
@@ -446,18 +446,10 @@
447447 // If revision was hidden from sysops
448448 if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) {
449449 $del = Xml::check( 'deleterevisions', false, array('disabled' => 'disabled') );
450 - $del .= Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ),
451 - '(' . $this->historyPage->message['rev-delundel'] . ')' );
452450 // Otherwise, show the link...
453451 } else {
454452 $id = $rev->getId();
455453 $del = Xml::check( 'showhiderevisions', false, array( 'name' => "ids[$id]" ) );
456 - $query = array(
457 - 'type' => 'revision',
458 - 'target' => $this->title->getPrefixedDbkey(),
459 - 'ids' => $id );
460 - $del .= $this->getSkin()->revDeleteLink( $query,
461 - $rev->isDeleted( Revision::DELETED_RESTRICTED ) );
462454 }
463455 $s .= " $del ";
464456 }

Status & tagging log