Page MenuHomePhabricator

MassMessage: add a hook before posting a message
Open, Needs TriagePublic

Description

MassMessage should allow other extensions to determine if a message should be posted or not.

Event Timeline

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

Change 533347 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/MassMessage@master] Add MassMessageShouldPostMessage hook

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

DannyS712 moved this task from Backlog to Doing (In progress) on the MassMessage board.
DannyS712 moved this task from Unsorted to Needs Review on the MediaWiki-API board.
DannyS712 moved this task from Inbox to Feature Requests to Review on the Core Platform Team board.
Legoktm added a subscriber: Legoktm.Mon, Sep 2, 5:16 PM

What's the use case for this? I don't really want to add a hook here like this.

What's the use case for this? I don't really want to add a hook here like this.

On some wikis (mostly non WMF) mass messages shouldn't be delivered to blocked users; this would allow another extension to implement that filter

WDoranWMF added a subscriber: WDoranWMF.

Removing CPT and adding Editing-team, let me know if this is incorrect.