From 4a034c7e336c2dfbae1833ac72341838386afda6 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 14 Mar 2025 09:14:08 +0100 Subject: EventSubscriberBase: rename to EventIngressBase Why: - "ingress" better describes the purpose of objects that use this base class. "subscriber" is merely a mechanism for registering listeners. What: - Rename EventSubscriberBase to EventIngressBase (leaving an alias in place) - Improve documentation of the base class - Clean up some unused code in the base class Bug: T389033 Change-Id: Ib557aea12cc89b7365cabe22a6848c2a38c725ca --- includes/page/Event/PageRevisionUpdatedEvent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/page') diff --git a/includes/page/Event/PageRevisionUpdatedEvent.php b/includes/page/Event/PageRevisionUpdatedEvent.php index ef8380e57eea..ac7a02b77560 100644 --- a/includes/page/Event/PageRevisionUpdatedEvent.php +++ b/includes/page/Event/PageRevisionUpdatedEvent.php @@ -47,11 +47,11 @@ use Wikimedia\Assert\Assert; * * Extensions that want to subscribe to this event should list * "PageRevisionUpdated" as a subscribed event type. - * Subscribers based on EventSubscriberBase should implement the + * Subscribers based on EventIngressBase should implement the * handlePageRevisionUpdatedEvent() listener method to be informed when * a page update has been committed to the database. * - * See the documentation of EventSubscriberBase and DomainEventSource for + * See the documentation of EventIngressBase and DomainEventSource for * more options and details. * * @unstable until 1.45 -- cgit v1.2.3