Merge "Replace deprecated HTMLForm::addFooterText"

This commit is contained in:
jenkins-bot 2023-01-28 00:28:12 +00:00 committed by Gerrit Code Review
commit 6ba85773ed
2 changed files with 2 additions and 2 deletions

View file

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

View file

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