In 2019 in T216297: Develop method for identifying reverts in EventBus data, we added revert info into MediaWiki state change events.
But, in 2021 in T215001: Revisions missing from mediawiki_revision_create (T215001#6942373), EventBus was modified to use a MediaWiki hook that did not give us access to information about whether a revision was created because of a UI revert action.
In 2025 in T390970: EventBus: replace PageSaveCompleteHook with PageRevisionUpdateListener, mediawiki.page_change.v1 was switched to using DomainEvents. The Domain event used does have access to revert info.
This information is very useful, especially for T418032: Weekly delivery cadence of core contributor metrics.
Done is
- mediawiki.page_change.v1 event stream has a revision.revert details