From: Aaron Schulz Date: Mon, 3 Aug 2009 16:35:54 +0000 (+0000) Subject: clean up bizarre code - use timestamp for links again (as it is on deployment) X-Git-Tag: 1.31.0-rc.0~40542 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=6fa0db13896b8e4c8c809db0f2c4a180acc5086a;p=lhc%2Fweb%2Fwiklou.git clean up bizarre code - use timestamp for links again (as it is on deployment) --- diff --git a/includes/specials/SpecialDeletedContributions.php b/includes/specials/SpecialDeletedContributions.php index 53466a9e89..d1097dddd2 100644 --- a/includes/specials/SpecialDeletedContributions.php +++ b/includes/specials/SpecialDeletedContributions.php @@ -145,16 +145,6 @@ class DeletedContribsPager extends IndexPager { $this->messages['undeleteviewlink'] ); - $link = $sk->linkKnown( - $undelete, - htmlspecialchars( $page->getPrefixedText() ), - array(), - array( - 'target' => $page->getPrefixedText(), - 'timestamp' => $rev->getTimestamp() - ) - ); - $last = $sk->linkKnown( $undelete, $this->messages['diff'], @@ -167,14 +157,14 @@ class DeletedContribsPager extends IndexPager { ); $comment = $sk->revComment( $rev ); - $d = htmlspecialchars( $wgLang->timeanddate( $rev->getTimestamp(), true ) ); + $date = htmlspecialchars( $wgLang->timeanddate( $rev->getTimestamp(), true ) ); if( $rev->isDeleted( Revision::DELETED_TEXT ) ) { - $d = '' . $d . ''; + $link = '' . $date . ''; } else { $link = $sk->linkKnown( $undelete, - $d, + $date, array(), array( 'target' => $page->getPrefixedText(),