Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -446,18 +446,10 @@ |
447 | 447 | // If revision was hidden from sysops |
448 | 448 | if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) { |
449 | 449 | $del = Xml::check( 'deleterevisions', false, array('disabled' => 'disabled') ); |
450 | | - $del .= Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), |
451 | | - '(' . $this->historyPage->message['rev-delundel'] . ')' ); |
452 | 450 | // Otherwise, show the link... |
453 | 451 | } else { |
454 | 452 | $id = $rev->getId(); |
455 | 453 | $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 ) ); |
462 | 454 | } |
463 | 455 | $s .= " $del "; |
464 | 456 | } |