Page MenuHomePhabricator

PageUpdater: save additional info about reverts in ct_params
Closed, ResolvedPublic

Description

We have three revert tags: mw-rollback, mw-undo and mw-manual-revert. It would be useful if along with the tags we persisted the information on which edits were actually reverted. The information can be later used for analytics or when performing a delayed RevertedTagUpdateJob, see T259103: Run reverted tag update job only after the edit is approved for more information.

This can be achieving by simply serializing the EditResult associated with the revert and storing it in the ct_params field of the change_tag table.

Related Objects

Event Timeline

Change 618707 had a related patch set uploaded (by Ostrzyciel; owner: Ostrzyciel):
[mediawiki/core@master] Save additional info about reverts in ct_params

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

Change 618707 merged by jenkins-bot:
[mediawiki/core@master] Save additional info about reverts in ct_params

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