From 9d7296a27a0f23e634e3133b33ac26bff9ab4b21 Mon Sep 17 00:00:00 2001 From: Disco402 <63345346+Disco402@users.noreply.github.com> Date: Mon, 24 Nov 2025 13:00:39 +0000 Subject: [PATCH] Update PluggableAuth.php Fix for Type error on MW 1.44 --- src/PluggableAuth.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/PluggableAuth.php b/src/PluggableAuth.php index 647012f..c34edc1 100644 --- a/src/PluggableAuth.php +++ b/src/PluggableAuth.php @@ -11,7 +11,10 @@ use MWException; use RequestContext; use SpecialPage; -use Title; +// Pre 1.44 +// use Title; +// Post 1.44 +use MediaWiki\Title\Title; /** * Class PluggableAuth @@ -141,4 +144,4 @@ protected function redirectToSpecialPage( Title $currentTitle, Title $destinatio } exit; } -} \ No newline at end of file +}