From: Brion Vibber Date: Mon, 21 Jan 2008 23:09:49 +0000 (+0000) Subject: * Log username blocks with canonical form of name instead of input form X-Git-Tag: 1.31.0-rc.0~49857 X-Git-Url: https://git.cyclocoop.org/?a=commitdiff_plain;h=69156c8cb9cccfd6a992daa9afb9688cc1ed3683;p=lhc%2Fweb%2Fwiklou.git * Log username blocks with canonical form of name instead of input form --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 194b67e428..fb5b0d08f9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -326,6 +326,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN name will not work (but $wgSiteName is not checked if manually set). * (bug 12695) Suppress dvips verbiage from web server error log * (bug 12716) Unprotecting a non-protected page leaves a log entry +* Log username blocks with canonical form of name instead of input form == Parser changes in 1.12 == diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index c7ec57295f..f059013eb6 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -331,6 +331,7 @@ class IPBlockForm { if( !is_null( $user ) && $user->getID() ) { # Use canonical name $userId = $user->getID(); + $this->BlockAddress = $user->getName(); } else { return array('nosuchusershort', htmlspecialchars($user->getName())); }