Page MenuHomePhabricator

Migrate code using PageState, PageRevisionUpdatedEvent, and related listener interfaces to the new names
Open, MediumPublic2 Estimated Story Points

Description

These classes were renamed in T393867. Extensions using the old aliases and event type strings should be updated.

I also noticed some core classes still referencing the old names.

  • Update core code that "extends PageStateEvent" or uses "PageStateEvent", PageRevisionUpdatedEvent, "PageRevisionUpdated", or $pageRevisionUpdatedEvent field
  • Possibly add *Listener interfaces to extensions to verify the name is right
  • Update extensions likewise

Event Timeline

aaron triaged this task as Medium priority.Jun 23 2025, 3:47 PM
aaron set the point value for this task to 2.

Change #1196991 had a related patch set uploaded (by Aaron Schulz; author: Aaron Schulz):

[mediawiki/core@master] DomainEvents: avoid references to deprecated PageRevisionUpdatedEvent

https://gerrit.wikimedia.org/r/1196991

Change #1196991 merged by jenkins-bot:

[mediawiki/core@master] DomainEvents: avoid references to deprecated PageRevisionUpdatedEvent

https://gerrit.wikimedia.org/r/1196991