* Generate user page links in Special:Ipblocklist where appropriate (i.e. not an...
authorRob Church <robchurch@users.mediawiki.org>
Sun, 15 Jan 2006 02:17:02 +0000 (02:17 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sun, 15 Jan 2006 02:17:02 +0000 (02:17 +0000)
RELEASE-NOTES
includes/SpecialIpblocklist.php

index 2ea75a5..62f6979 100644 (file)
@@ -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
index 89c996d..789e70d 100644 (file)
@@ -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 );