Fix false blue links on Special:Ipblocklist
authorRob Church <robchurch@users.mediawiki.org>
Tue, 17 Jan 2006 21:53:37 +0000 (21:53 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 17 Jan 2006 21:53:37 +0000 (21:53 +0000)
includes/SpecialIpblocklist.php

index 423117d..aa0c824 100644 (file)
@@ -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 ) . ')';
                }