From: Ævar Arnfjörð Bjarmason Date: Fri, 1 Apr 2005 12:32:39 +0000 (+0000) Subject: *(bug 902) applied a small "uga" by Niklas Laxstr��m to add a X-Git-Tag: 1.5.0alpha1~433 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=8d0bab74a963e38d4b82313f2732fbda832df783;p=lhc%2Fweb%2Fwiklou.git *(bug 902) applied a small "uga" by Niklas Laxstr��m to add a Special:Contributions in the case of an anonymous user --- diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 648efdcc8b..e4b34b23ae 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -412,6 +412,10 @@ class UndeleteForm { $userLink = $sk->makeKnownLinkObj( Title::makeTitle( NS_USER, $row->ar_user_text ), $userLink ); + } else { + $userLink = $sk->makeKnownLinkObj( + Title::makeTitle( NS_SPECIAL, 'Contributions' ), + $userLink, 'target=' . $row->ar_user_text ); } $comment = $sk->commentBlock( $row->ar_comment ); $wgOut->addHTML( "
  • $checkBox $pageLink . . $userLink $comment
  • \n" );