http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56269

Revision: 56269
Author:   aaron
Date:     2009-09-13 16:02:34 +0000 (Sun, 13 Sep 2009)

Log Message:
-----------
Removed redundant show/hide clutter

Modified Paths:
--------------
    trunk/phase3/includes/HistoryPage.php

Modified: trunk/phase3/includes/HistoryPage.php
===================================================================
--- trunk/phase3/includes/HistoryPage.php       2009-09-13 15:51:17 UTC (rev 
56268)
+++ trunk/phase3/includes/HistoryPage.php       2009-09-13 16:02:34 UTC (rev 
56269)
@@ -446,18 +446,10 @@
                        // If revision was hidden from sysops
                        if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) {
                                $del = Xml::check( 'deleterevisions', false, 
array('disabled' => 'disabled') );
-                               $del .= Xml::tags( 'span', array( 
'class'=>'mw-revdelundel-link' ),
-                                       '(' . 
$this->historyPage->message['rev-delundel'] . ')' );
                        // Otherwise, show the link...
                        } else {
                                $id = $rev->getId();
                                $del = Xml::check( 'showhiderevisions', false, 
array( 'name' => "ids[$id]" ) );
-                               $query = array(
-                                       'type' => 'revision',
-                                       'target' => 
$this->title->getPrefixedDbkey(),
-                                       'ids' => $id );
-                               $del .= $this->getSkin()->revDeleteLink( $query,
-                                       $rev->isDeleted( 
Revision::DELETED_RESTRICTED ) );
                        }
                        $s .= " $del ";
                }



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to