r25381 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25380‎ | r25381 | r25382 >
Date:22:44, 31 August 2007
Author:david
Status:old
Tags:
Comment:
User links in history listings the same as elsewhere.
Modified paths:
  • /branches/liquidthreads/extensions/LqtPages.php (modified) (history)

Diff [purge]

Index: branches/liquidthreads/extensions/LqtPages.php
@@ -621,7 +621,10 @@
622622
623623 $url = LqtView::permalinkUrlWithQuery( $this->thread, 'lqt_oldid=' . $t->revisionNumber() );
624624
625 - $p = new Parser(); $sig = $wgOut->parse( $p->getUserSig( $t->changeUser() ), false );
 625+ $user_id = $t->changeUser()->getID(); # ever heard of a User object?
 626+ $user_text = $t->changeUser()->getName();
 627+ $sig = $this->user->getSkin()->userLink( $user_id, $user_text ) .
 628+ $this->user->getSkin()->userToolLinks( $user_id, $user_text );
626629
627630 $result[] = "<tr>";
628631 $result[] = "<td><a href=\"$url\">" . $wgLang->timeanddate($t->timestamp()) . "</a></td>";

Status & tagging log