Removed old comment and depreciated <tt> tags
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 4 Sep 2009 00:29:20 +0000 (00:29 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 4 Sep 2009 00:29:20 +0000 (00:29 +0000)
includes/ImagePage.php

index 6c87006..d5f603e 100644 (file)
@@ -861,7 +861,6 @@ class ImageHistoryList {
                                if( $iscur || !$file->userCan(File::DELETED_RESTRICTED) ) {
                                        $del = wfMsgHtml( 'rev-delundel' );
                                } else {
-                                       // If the file was hidden, link to sha-1
                                        list( $ts, $name ) = explode( '!', $img, 2 );
                                        $del = $this->skin->link( $revdel, wfMsgHtml( 'rev-delundel' ),
                                                array(),
@@ -876,7 +875,7 @@ class ImageHistoryList {
                                        if( $file->isDeleted(File::DELETED_RESTRICTED) )
                                                $del = "<strong>$del</strong>";
                                }
-                               $row .= "<tt style='white-space: nowrap;'><small>$del</small></tt>";
+                               $row .= "<span class='mw-revdelundel-link'>$del</span>";
                        }
                        $row .= '</td>';
                }