From a7c9a664b840b1cb3cfef164b8696ce7ca2ab13f Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 5 Jan 2024 21:23:30 +0100 Subject: [PATCH] Use namespaced classes Done automatically via script Change-Id: I960cc93c19639202cdb63c5b0b00bfc468abb37e --- includes/Hooks.php | 2 +- includes/RSSParser.php | 4 ++-- includes/Utils.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/Hooks.php b/includes/Hooks.php index 3fe9f65..2f24cd4 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -3,10 +3,10 @@ namespace MediaWiki\Extension\RSS; use MediaWiki\Hook\ParserFirstCallInitHook; +use MediaWiki\Status\Status; use MWHttpRequest; use Parser; use PPFrame; -use Status; class Hooks implements ParserFirstCallInitHook { diff --git a/includes/RSSParser.php b/includes/RSSParser.php index 8a1ac80..1dbbb5f 100644 --- a/includes/RSSParser.php +++ b/includes/RSSParser.php @@ -4,13 +4,13 @@ namespace MediaWiki\Extension\RSS; use DOMDocument; use MediaWiki\MediaWikiServices; +use MediaWiki\Parser\Sanitizer; +use MediaWiki\Status\Status; use MediaWiki\Title\Title; use MWHttpRequest; use Parser; use ParserFactory; use PPFrame; -use Sanitizer; -use Status; use TextContent; use WANObjectCache; use Wikimedia\AtEase\AtEase; diff --git a/includes/Utils.php b/includes/Utils.php index b6676fa..12306ee 100644 --- a/includes/Utils.php +++ b/includes/Utils.php @@ -2,7 +2,7 @@ namespace MediaWiki\Extension\RSS; -use Html; +use MediaWiki\Html\Html; class Utils {