rollback: Fire postEdit JavaScript hook on success
Why:
- Front-end code should be able to respond to actions that result in
edits
What:
- Fire core's postEdit hook after a successful rollback action
- Add the relevant code to the existing mediawiki.misc-authed-curate
ResourceLoader module to avoid adding another RL Module
- Output the mediawiki.misc-authed-curate module for successful
scenarios in RollbackAction.php
- Fire the postEdit hook without any messages. It's possible that a
toast message makes sense, but that can be added later, if someone has
a need for it; perhaps in the context of T88044
Bug: T345229
Change-Id: Icb33535d8d5ba3a386459befacab11971ae44f49