From 6fabca14c84f5008f3d8ac68230fa26d13d73e97 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 22 Apr 2023 20:06:24 +0200 Subject: [PATCH] Use renamed CheckUserInsert*Hook interfaces Follow-Up: I8d632f2808fde57c977c0ed22531db7b3741beef Change-Id: I88bee654f80d9c40996ebef75136f310520a496f --- extension.json | 2 +- includes/Hooks/Handlers/CheckUserHandler.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/extension.json b/extension.json index 08baa483b..ebb70198d 100644 --- a/extension.json +++ b/extension.json @@ -12,7 +12,7 @@ "license-name": "GPL-2.0-or-later", "type": "antispam", "requires": { - "MediaWiki": ">= 1.40.0" + "MediaWiki": ">= 1.41.0" }, "AvailableRights": [ "abusefilter-modify", diff --git a/includes/Hooks/Handlers/CheckUserHandler.php b/includes/Hooks/Handlers/CheckUserHandler.php index 3abfb1c85..ed31b422e 100644 --- a/includes/Hooks/Handlers/CheckUserHandler.php +++ b/includes/Hooks/Handlers/CheckUserHandler.php @@ -2,17 +2,17 @@ namespace MediaWiki\Extension\AbuseFilter\Hooks\Handlers; -use MediaWiki\CheckUser\Hook\CheckUserInsertChangesRow; -use MediaWiki\CheckUser\Hook\CheckUserInsertLogEventRow; -use MediaWiki\CheckUser\Hook\CheckUserInsertPrivateEventRow; +use MediaWiki\CheckUser\Hook\CheckUserInsertChangesRowHook; +use MediaWiki\CheckUser\Hook\CheckUserInsertLogEventRowHook; +use MediaWiki\CheckUser\Hook\CheckUserInsertPrivateEventRowHook; use MediaWiki\Extension\AbuseFilter\FilterUser; use MediaWiki\User\UserIdentity; use RecentChange; class CheckUserHandler implements - CheckUserInsertChangesRow, - CheckUserInsertPrivateEventRow, - CheckUserInsertLogEventRow + CheckUserInsertChangesRowHook, + CheckUserInsertPrivateEventRowHook, + CheckUserInsertLogEventRowHook { /** @var FilterUser */