r8019 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r8018‎ | r8019 | r8020 >
Date:12:33, 1 April 2005
Author:avar
Status:old
Tags:
Comment:
*(bug 902) applied a small "uga" by Niklas Laxstr��m to add a
Special:Contributions in the case of an anonymous user
Modified paths:
  • /branches/REL1_4/phase3/includes/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: branches/REL1_4/phase3/includes/SpecialUndelete.php
@@ -410,6 +410,10 @@
411411 $userLink = $sk->makeKnownLinkObj(
412412 Title::makeTitle( NS_USER, $row->ar_user_text ),
413413 $userLink );
 414+ } else {
 415+ $userLink = $sk->makeKnownLinkObj(
 416+ Title::makeTitle( NS_SPECIAL, 'Contributions' ),
 417+ $userLink, 'target=' . $row->ar_user_text );
414418 }
415419 $comment = $sk->formatComment( $row->ar_comment );
416420 $wgOut->addHTML( "<li>$checkBox $pageLink . . $userLink (<i>$comment</i>)</li>\n" );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r8018*(bug 902) applied a small "uga" by Niklas Laxstr��m to add a...avar12:32, 1 April 2005

Status & tagging log