r55794 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55793‎ | r55794 | r55795 >
Date:00:29, 4 September 2009
Author:aaron
Status:ok
Tags:
Comment:
Removed old comment and depreciated <tt> tags
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -861,7 +861,6 @@
862862 if( $iscur || !$file->userCan(File::DELETED_RESTRICTED) ) {
863863 $del = wfMsgHtml( 'rev-delundel' );
864864 } else {
865 - // If the file was hidden, link to sha-1
866865 list( $ts, $name ) = explode( '!', $img, 2 );
867866 $del = $this->skin->link( $revdel, wfMsgHtml( 'rev-delundel' ),
868867 array(),
@@ -876,7 +875,7 @@
877876 if( $file->isDeleted(File::DELETED_RESTRICTED) )
878877 $del = "<strong>$del</strong>";
879878 }
880 - $row .= "<tt style='white-space: nowrap;'><small>$del</small></tt>";
 879+ $row .= "<span class='mw-revdelundel-link'>$del</span>";
881880 }
882881 $row .= '</td>';
883882 }

Status & tagging log