Update ContactPage for ConfirmEdit changes:
Bug: T141417 Change-Id: I2cc3d335a1a8de9ac04fd26d8dac57b073ccb135 Depends-On: I25f344538052fc18993c43185fbd97804a7cfc81
This commit is contained in:
parent
3a71a090f4
commit
486e21c1fc
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue