Update ContactPage for ConfirmEdit changes:

Bug: T141417
Change-Id: I2cc3d335a1a8de9ac04fd26d8dac57b073ccb135
Depends-On: I25f344538052fc18993c43185fbd97804a7cfc81
This commit is contained in:
Matthew Flaschen 2016-08-03 12:43:50 -04:00
parent 3a71a090f4
commit 486e21c1fc
1 changed files with 6 additions and 1 deletions

View File

@ -490,8 +490,13 @@ class SpecialContact extends UnlistedSpecialPage {
$captcha->setTrigger( 'contactpage' );
$captcha->setAction( 'contact' );
$formInformation = $captcha->getFormInformation();
$formMetainfo = $formInformation;
unset( $formMetainfo['html'] );
$captcha->addFormInformationToOutput( $this->getOutput(), $formMetainfo );
return '<div class="captcha">' .
$captcha->getForm( $this->getOutput() ) .
$formInformation['html'] .
"</div>\n";
}
}