Topic on Extension talk:FlaggedRevs

Feature Request: Please provide more EchoEvents or add some hooks.

4
Osnard (talkcontribs)

Hi Aaron Schulz, hi Joerg Baach!

I noticed that in the current version there is a minimal support for the new Echo notification system. At the moment only rejections create an EchoEvent. This is pretty cool. But it would be great to have more EchoEvents, like when an article gets approved or a new draft version is created. As FlaggedRevs is productive on many WMF sites I understand if this may be a little overhead. As an alternative FlaggedRevs could have some hooks of it's own, that third party extensions can bind to and fire custom EchoEvents. I think the most important hook would be something like FlaggedRevsRevisionReview. Maybe some *Before* and *After* hooks would make sense too.

Maybe I could add some EchoEvents/Hooks myself and submit a patch to gerrit?

P.S.: FlaggedRevs is a really awesome extension and makes MediaWiki even more valuable. Thanks a lot!

Aaron Schulz (talkcontribs)
Osnard (talkcontribs)

Hi! Thanks for the reply. I will see if I can find some time for it. What would you prefer? Echo integration or Hooks that allow third party users to implement their own notifications?

GolezTrol (talkcontribs)

I found this FR while searching for FlaggedRev hooks. I would prefer hooks, especially because I'd like to do some automated actions after a revision has been approved. I guess hooks are more flexible, and I use them a lot to inject my own functionality into MediaWiki. But then again, for those who have only a hammer, everything looks like a nail.

Reply to "Feature Request: Please provide more EchoEvents or add some hooks."