From b3abf3b74bcadc12e38450ea5a09e8c197853c4f Mon Sep 17 00:00:00 2001 From: Rob Church Date: Tue, 17 Jan 2006 21:53:37 +0000 Subject: [PATCH] Fix false blue links on Special:Ipblocklist --- includes/SpecialIpblocklist.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SpecialIpblocklist.php b/includes/SpecialIpblocklist.php index 423117dd0b..aa0c8240dc 100644 --- a/includes/SpecialIpblocklist.php +++ b/includes/SpecialIpblocklist.php @@ -216,14 +216,14 @@ class IPUnblockForm { # Prepare links to the blocker's user and talk pages $blocker_name = $block->getByName(); - $blocker = $sk->MakeKnownLinkObj( Title::makeTitle( NS_USER, $blocker_name ), $blocker_name ); - $blocker .= ' (' . $sk->makeKnownLinkObj( Title::makeTitle( NS_USER_TALK, $blocker_name ), $wgLang->getNsText( NS_TALK ) ) . ')'; + $blocker = $sk->MakeLinkObj( Title::makeTitle( NS_USER, $blocker_name ), $blocker_name ); + $blocker .= ' (' . $sk->makeLinkObj( Title::makeTitle( NS_USER_TALK, $blocker_name ), $wgLang->getNsText( NS_TALK ) ) . ')'; # Prepare links to the block target's user and contribs. pages (as applicable, don't do it for autoblocks) if( $block->mAuto ) { $target = '#' . $block->mId; # Hide the IP addresses of auto-blocks; privacy } else { - $target = $sk->makeKnownLinkObj( Title::makeTitle( NS_USER, $block->mAddress ), $block->mAddress ); + $target = $sk->makeLinkObj( Title::makeTitle( NS_USER, $block->mAddress ), $block->mAddress ); $target .= ' (' . $sk->makeKnownLinkObj( Title::makeTitle( NS_SPECIAL, 'Contributions' ), $msg['contribslink'], 'target=' . $block->mAddress ) . ')'; } -- 2.20.1