r55793 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55792‎ | r55793 | r55794 >
Date:23:59, 3 September 2009
Author:aaron
Status:ok
Tags:
Comment:
(bug 19912) Fixed regression were file links were never greyed out as needed
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRevisiondelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php
@@ -1398,9 +1398,9 @@
13991399 if ( $this->isDeleted() ) {
14001400 # Hidden files...
14011401 if ( !$this->canView() ) {
1402 - return $date;
 1402+ $link = $date;
14031403 } else {
1404 - return $this->special->skin->link(
 1404+ $link = $this->special->skin->link(
14051405 $this->special->getTitle(),
14061406 $date, array(),
14071407 array(
@@ -1409,6 +1409,7 @@
14101410 )
14111411 );
14121412 }
 1413+ return '<span class="history-deleted">' . $link . '</span>';
14131414 } else {
14141415 # Regular files...
14151416 $url = $this->file->getUrl();

Status & tagging log