From 4ce42dd5cb29e015ed335adf9bef83b47c35a0d2 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sun, 20 Aug 2023 02:48:10 +0200 Subject: [PATCH] Use namespaced MediaWiki\Html\TemplateParser Bug: T321681 Change-Id: I7cec363ce0f4a6d5797a3f176b5cb766930a84fe --- includes/Menu/User/UserMenuDirector.php | 2 +- includes/Skins/SkinMinerva.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Menu/User/UserMenuDirector.php b/includes/Menu/User/UserMenuDirector.php index 4ed591931..26a82675d 100644 --- a/includes/Menu/User/UserMenuDirector.php +++ b/includes/Menu/User/UserMenuDirector.php @@ -19,8 +19,8 @@ */ namespace MediaWiki\Minerva\Menu\User; +use MediaWiki\Html\TemplateParser; use MessageLocalizer; -use TemplateParser; /** * Director responsible for building the user menu. diff --git a/includes/Skins/SkinMinerva.php b/includes/Skins/SkinMinerva.php index 681126760..2653deaba 100644 --- a/includes/Skins/SkinMinerva.php +++ b/includes/Skins/SkinMinerva.php @@ -24,6 +24,7 @@ use ExtensionRegistry; use Html; use Language; use MediaWiki\Extension\Notifications\Controller\NotificationController; +use MediaWiki\Html\TemplateParser; use MediaWiki\Linker\LinkTarget; use MediaWiki\MediaWikiServices; use MediaWiki\Minerva\Menu\Main\MainMenuDirector; @@ -38,7 +39,6 @@ use SkinMustache; use SkinTemplate; use SpecialMobileHistory; use SpecialPage; -use TemplateParser; /** * Minerva: Born from the godhead of Jupiter with weapons!