Replace deprecated HTMLForm::addFooterText

Bug: T325474
Change-Id: I32197ab82558b6aba9b535614f129dc06b51d0eb
This commit is contained in:
Umherirrender 2022-12-27 12:27:35 +01:00
parent e1d09ccd9e
commit 65d54c1a27
2 changed files with 2 additions and 2 deletions

View file

@ -341,7 +341,7 @@ class SimpleCaptcha {
$formMetainfo = $formInformation;
unset( $formMetainfo['html'] );
$this->addFormInformationToOutput( $out, $formMetainfo );
$form->addFooterText(
$form->addFooterHtml(
"<div class='captcha'>" .
$this->getMessage( 'sendemail' )->parseAsBlock() .
$formInformation['html'] .

View file

@ -13,7 +13,7 @@
"license-name": "GPL-2.0-or-later",
"type": "antispam",
"requires": {
"MediaWiki": ">= 1.37.0"
"MediaWiki": ">= 1.38.0"
},
"GroupPermissions": {
"*": {