jenkins-bot has submitted this change and it was merged.

Change subject: Pass normalized username to GlobalRenameUserStatus
......................................................................


Pass normalized username to GlobalRenameUserStatus

We were directly taking the special page input which
means it wasn't normalized.

Change-Id: I5b75ecb41e8697f975963729df463225212a54f6
(cherry picked from commit 2eaaa5fbc2e6fd31b0f5d752f83e0fd44d9fb75e)
---
M specials/SpecialGlobalRenameUser.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Manybubbles: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/specials/SpecialGlobalRenameUser.php 
b/specials/SpecialGlobalRenameUser.php
index c826312..4c2878d 100644
--- a/specials/SpecialGlobalRenameUser.php
+++ b/specials/SpecialGlobalRenameUser.php
@@ -118,7 +118,7 @@
                        CentralAuthUser::getInstance( $oldUser ),
                        $newUser,
                        CentralAuthUser::getInstance( $newUser ),
-                       new GlobalRenameUserStatus( $this->newUsername ),
+                       new GlobalRenameUserStatus( $newUser->getName() ),
                        'JobQueueGroup::singleton',
                        new GlobalRenameUserDatabaseUpdates(),
                        new GlobalRenameUserLogger( $this->getUser() )

-- 
To view, visit https://gerrit.wikimedia.org/r/154724
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5b75ecb41e8697f975963729df463225212a54f6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: wmf/1.24wmf17
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: Manybubbles <never...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to