r8018 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r8017‎ | r8018 | r8019 >
Date:12:32, 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:
  • /trunk/phase3/includes/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialUndelete.php
@@ -412,6 +412,10 @@
413413 $userLink = $sk->makeKnownLinkObj(
414414 Title::makeTitle( NS_USER, $row->ar_user_text ),
415415 $userLink );
 416+ } else {
 417+ $userLink = $sk->makeKnownLinkObj(
 418+ Title::makeTitle( NS_SPECIAL, 'Contributions' ),
 419+ $userLink, 'target=' . $row->ar_user_text );
416420 }
417421 $comment = $sk->commentBlock( $row->ar_comment );
418422 $wgOut->addHTML( "<li>$checkBox $pageLink . . $userLink $comment</li>\n" );

Follow-up revisions

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

Status & tagging log