From 69156c8cb9cccfd6a992daa9afb9688cc1ed3683 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 21 Jan 2008 23:09:49 +0000 Subject: [PATCH] * Log username blocks with canonical form of name instead of input form --- RELEASE-NOTES | 1 + includes/SpecialBlockip.php | 1 + 2 files changed, 2 insertions(+) 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())); } -- 2.20.1