From 0a632be15c6b4a341f6f05fbb56f85cffae4c0af Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 3 Jan 2009 06:09:09 +0000 Subject: [PATCH] (bug 15498) Provide links to revisions listed at the Special:Contributions page --- includes/specials/SpecialContributions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index a6febdbd53..3d8c18dd03 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -490,7 +490,8 @@ class ContribsPager extends ReverseChronologicalPager { $histlink='('.$sk->makeKnownLinkObj( $page, $this->messages['hist'], 'action=history' ) . ')'; $comment = $wgContLang->getDirMark() . $sk->revComment( $rev, false, true ); - $d = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->rev_timestamp ), true ); + $date = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->rev_timestamp ), true ); + $d = $sk->makeKnownLinkObj( $page, $date, 'oldid='.intval($row->rev_id) ); if( $this->target == 'newbies' ) { $userlink = ' . . ' . $sk->userLink( $row->rev_user, $row->rev_user_text ); -- 2.20.1