diff --git a/extension.json b/extension.json index e7db55b8..f8aff24d 100644 --- a/extension.json +++ b/extension.json @@ -18,7 +18,7 @@ "license-name": "GPL-2.0-or-later", "type": "specialpage", "requires": { - "MediaWiki": ">= 1.38.0" + "MediaWiki": ">= 1.40.0" }, "ExtensionMessagesFiles": { "InterwikiAlias": "Interwiki.alias.php" diff --git a/includes/Hooks.php b/includes/Hooks.php index 4f8e2cd2..1515a2e2 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -4,7 +4,7 @@ namespace MediaWiki\Extension\Interwiki; use Hooks as MWHooks; use MediaWiki\MediaWikiServices; -use WikiMap; +use MediaWiki\WikiMap\WikiMap; class Hooks { /** @var bool */ diff --git a/includes/SpecialInterwiki.php b/includes/SpecialInterwiki.php index 67c5fac3..7e337a8b 100644 --- a/includes/SpecialInterwiki.php +++ b/includes/SpecialInterwiki.php @@ -6,13 +6,13 @@ use Html; use HTMLForm; use LogPage; use MediaWiki\MediaWikiServices; +use MediaWiki\WikiMap\WikiMap; use OutputPage; use PermissionsError; use ReadOnlyError; use SpecialPage; use Status; use Title; -use WikiMap; /** * Implements Special:Interwiki