diff --git a/extension.json b/extension.json index 8bd9134d..a05eb7e3 100644 --- a/extension.json +++ b/extension.json @@ -10,7 +10,7 @@ "descriptionmsg": "oathauth-desc", "type": "other", "requires": { - "MediaWiki": ">= 1.37.0" + "MediaWiki": ">= 1.38.0" }, "license-name": "GPL-2.0-or-later AND GPL-3.0-or-later", "attributes": { diff --git a/src/Special/DisableOATHForUser.php b/src/Special/DisableOATHForUser.php index f7b99fad..c3238c12 100644 --- a/src/Special/DisableOATHForUser.php +++ b/src/Special/DisableOATHForUser.php @@ -53,7 +53,7 @@ class DisableOATHForUser extends FormSpecialPage { public function alterForm( HTMLForm $form ) { $form->setMessagePrefix( 'oathauth' ); $form->setWrapperLegendMsg( 'oathauth-disable-for-user' ); - $form->setPreText( $this->msg( 'oathauth-disable-intro' )->parse() ); + $form->setPreHtml( $this->msg( 'oathauth-disable-intro' )->parse() ); $form->getOutput()->setPageTitle( $this->msg( 'oathauth-disable-for-user' ) ); }