aboutsummaryrefslogtreecommitdiffstats
path: root/includes/page
diff options
context:
space:
mode:
authordaniel <dkinzler@wikimedia.org>2025-03-14 09:14:08 +0100
committerDaniel Kinzler <dkinzler@wikimedia.org>2025-03-18 13:13:36 +0000
commit4a034c7e336c2dfbae1833ac72341838386afda6 (patch)
tree73a26c324ff5e3f3a3aaff49b55e7aaa233b98a0 /includes/page
parent63208f426fc1a99bfeec5b3e6cb22c111248be43 (diff)
downloadmediawikicore-4a034c7e336c2dfbae1833ac72341838386afda6.tar.gz
mediawikicore-4a034c7e336c2dfbae1833ac72341838386afda6.zip
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
Diffstat (limited to 'includes/page')
-rw-r--r--includes/page/Event/PageRevisionUpdatedEvent.php4
1 files changed, 2 insertions, 2 deletions
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