diff --git a/extension.json b/extension.json index 6782aab8..8569cb76 100644 --- a/extension.json +++ b/extension.json @@ -8,7 +8,7 @@ "descriptionmsg": "gadgets-desc", "license-name": "GPL-2.0-or-later", "requires": { - "MediaWiki": ">= 1.38.0" + "MediaWiki": ">= 1.39.0" }, "type": "other", "namespaces": [ diff --git a/includes/SpecialGadgets.php b/includes/SpecialGadgets.php index 7b6e6367..4c434a70 100644 --- a/includes/SpecialGadgets.php +++ b/includes/SpecialGadgets.php @@ -306,7 +306,7 @@ class SpecialGadgets extends SpecialPage { $htmlForm = HTMLForm::factory( 'ooui', [], $this->getContext() ); $htmlForm - ->addHiddenField( 'title', SpecialPage::getTitleFor( 'Export' )->getPrefixedDBKey() ) + ->setTitle( SpecialPage::getTitleFor( 'Export' ) ) ->addHiddenField( 'pages', $exportList ) ->addHiddenField( 'wpDownload', '1' ) ->addHiddenField( 'templates', '1' )