diff --git a/extension.json b/extension.json index a871e641..1393de69 100644 --- a/extension.json +++ b/extension.json @@ -8,7 +8,7 @@ "descriptionmsg": "nuke-desc", "license-name": "GPL-2.0-or-later", "requires": { - "MediaWiki": ">= 1.37" + "MediaWiki": ">= 1.40.0" }, "type": "specialpage", "ExtensionMessagesFiles": { diff --git a/includes/SpecialNuke.php b/includes/SpecialNuke.php index 5799f5d2..f4601ad0 100644 --- a/includes/SpecialNuke.php +++ b/includes/SpecialNuke.php @@ -4,12 +4,12 @@ namespace MediaWiki\Extension\Nuke; use CommentStore; use DeletePageJob; -use FileDeleteForm; use Html; use HTMLForm; use JobQueueGroup; use ListToggle; use MediaWiki\Extension\Nuke\Hooks\NukeHookRunner; +use Mediawiki\Page\File\FileDeleteForm; use MediaWiki\Permissions\PermissionManager; use OOUI\DropdownInputWidget; use OOUI\FieldLayout;