r45362 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45361‎ | r45362 | r45363 >
Date:06:09, 3 January 2009
Author:aaron
Status:ok
Tags:
Comment:
(bug 15498) Provide links to revisions listed at the Special:Contributions page
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -490,7 +490,8 @@
491491 $histlink='('.$sk->makeKnownLinkObj( $page, $this->messages['hist'], 'action=history' ) . ')';
492492
493493 $comment = $wgContLang->getDirMark() . $sk->revComment( $rev, false, true );
494 - $d = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->rev_timestamp ), true );
 494+ $date = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->rev_timestamp ), true );
 495+ $d = $sk->makeKnownLinkObj( $page, $date, 'oldid='.intval($row->rev_id) );
495496
496497 if( $this->target == 'newbies' ) {
497498 $userlink = ' . . ' . $sk->userLink( $row->rev_user, $row->rev_user_text );

Status & tagging log