Page MenuHomePhabricator

Update Echo for the EditResult revert detection improvements
Closed, ResolvedPublic

Description

Echo checks whether an edit is a revert before sending some notifications. While trying to re-use that logic for DiscussionTools's notifications, we realized that it could be simplified thanks to the EditResult revert detection improvements from T254074.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I've seen it, but it also includes functional changes, and I'd like to keep this to just a code cleanup, to make it easier to review and not require community consultations.

Change 673003 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/Echo@master] Simplify code for detecting rollbacks

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

Change 673003 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] Simplify code for detecting rollbacks

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