From: Rob Church Date: Sun, 15 Jan 2006 02:17:02 +0000 (+0000) Subject: * Generate user page links in Special:Ipblocklist where appropriate (i.e. not an... X-Git-Tag: 1.6.0~537 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=2ca68adddf113f9c4dfb455b1a0789da137a0530;p=lhc%2Fweb%2Fwiklou.git * Generate user page links in Special:Ipblocklist where appropriate (i.e. not an autoblock) --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2ea75a5a88..62f6979d8f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -308,6 +308,7 @@ Special Pages: * (bug 4359) red [[user:#id]] links generated in [[special:Log]] * (bug 1996) Special page to list redirects * (bug 4334) Add "watch" links to Special:Unwatchedpages +* Generate user page links in Special:Ipblocklist where appropriate (i.e. not an autoblock) Misc.: * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect diff --git a/includes/SpecialIpblocklist.php b/includes/SpecialIpblocklist.php index 89c996dadc..789e70dfc7 100644 --- a/includes/SpecialIpblocklist.php +++ b/includes/SpecialIpblocklist.php @@ -213,7 +213,7 @@ class IPUnblockForm { } # Hide addresses blocked by User::spreadBlocks, for privacy - $addr = $block->mAuto ? "#{$block->mId}" : $block->mAddress; + $addr = $block->mAuto ? "#{$block->mId}" : $sk->makeKnownLinkObj( Title::makeTitle( NS_USER, $block->mAddress ), $block->mAddress ); $name = $block->getByName(); $ulink = $sk->makeKnownLinkObj( Title::makeTitle( NS_USER, $name ), $name );