Last modified: 2014-02-03 05:10:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56859, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54859 - Add a delivery API module to the MassMessage extension
Add a delivery API module to the MassMessage extension
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
MassMessage (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-02 02:05 UTC by MZMcBride
Modified: 2014-02-03 05:10 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2013-10-02 02:05:35 UTC
In order to support bots such as the English Wikipedia's [[User:LivingBot]], MassMessage should have an API module to submit deliveries.

One question off the top of my head is how to handle validation checks. That is, whether to trust the sender to write sane HTML or to throw a warning or an error (e.g., with invalid HTML input). Same with an invalid input list or... however else someone can fuck up a delivery. ;-)  This'll need some thought.

Let's keep this bug contained to the delivery module. I'll file (and cross-reference) a separate bug for a job status module.

Neither of these bugs should be considered blockers to deployment, as far as I'm concerned.
Comment 1 Gerrit Notification Bot 2013-10-03 03:11:13 UTC
Change 87311 had a related patch set uploaded by Legoktm:
Add API module to send MassMessages

https://gerrit.wikimedia.org/r/87311
Comment 2 Kunal Mehta (Legoktm) 2013-10-03 03:51:23 UTC
The current patch only throws errors on actual errors (non-existing spamlist, missing parameter).

I'm thinking we could do this like how action=upload works (https://www.mediawiki.org/wiki/API:Upload), where by default you return warnings and don't do the action, but the user can supply an &ignorewarnings=1 which just suppresses them.
Comment 3 Gerrit Notification Bot 2014-01-27 00:33:40 UTC
Change 87311 merged by jenkins-bot:
Add API module to send MassMessages

https://gerrit.wikimedia.org/r/87311
Comment 4 Kunal Mehta (Legoktm) 2014-02-03 05:10:21 UTC
Documentation at https://www.mediawiki.org/wiki/Extension:MassMessage/API

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links