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

Change subject: SpecialGlobalRenameProgress: call prepareForm() before 
displayForm()
......................................................................


SpecialGlobalRenameProgress: call prepareForm() before displayForm()

Idd5d117cb0dd started to enforce this.

Bug: T134439
Change-Id: If076b71f42567aca00e5e54d785bcd213ea19018
---
M includes/specials/SpecialGlobalRenameProgress.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Gergő Tisza: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/specials/SpecialGlobalRenameProgress.php 
b/includes/specials/SpecialGlobalRenameProgress.php
index ee7c2c8..05c4cf4 100644
--- a/includes/specials/SpecialGlobalRenameProgress.php
+++ b/includes/specials/SpecialGlobalRenameProgress.php
@@ -108,7 +108,7 @@
                if ( !$names ) {
                        $this->checkCachePurge( $name );
                        $out->addWikiMsg( 'centralauth-rename-notinprogress', 
$name );
-                       $this->getForm()->displayForm( false );
+                       $this->getForm()->prepareForm()->displayForm( false );
                        $this->showLogExtract( $name );
                        return true;
                }
@@ -117,7 +117,7 @@
 
                $statuses = $this->renameuserStatus->getStatuses();
 
-               $this->getForm()->displayForm( false );
+               $this->getForm()->prepareForm()->displayForm( false );
                // $newname will always be defined since we check
                // for 0 result rows above
                $caUser = CentralAuthUser::getMasterInstanceByName( $newName );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If076b71f42567aca00e5e54d785bcd213ea19018
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Glaisher <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: GergÅ‘ Tisza <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to