From 8d0bab74a963e38d4b82313f2732fbda832df783 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Fri, 1 Apr 2005 12:32:39 +0000 Subject: [PATCH] =?utf8?q?*(bug=20902)=20applied=20a=20small=20"uga"=20by?= =?utf8?q?=20Niklas=20Laxstr=EF=BF=BD=EF=BF=BDm=20to=20add=20a=20=20=20Spe?= =?utf8?q?cial:Contributions=20in=20the=20case=20of=20an=20anonymous=20use?= =?utf8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- includes/SpecialUndelete.php | 4 ++++ 1 file changed, 4 insertions(+) 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" ); -- 2.20.1