* Log username blocks with canonical form of name instead of input form
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 21 Jan 2008 23:09:49 +0000 (23:09 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 21 Jan 2008 23:09:49 +0000 (23:09 +0000)
RELEASE-NOTES
includes/SpecialBlockip.php

index 194b67e..fb5b0d0 100644 (file)
@@ -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 ==
index c7ec572..f059013 100644 (file)
@@ -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()));
                                        }