Page MenuHomePhabricator

MassMessage: add module to query content of MassMessageListContent pages
Open, MediumPublic

Description

Currently, there isn't a good way to retrieve the contents of a mass message list. A pure revisions query, like https://meta.wikimedia.org/w/api.php?action=query&prop=revisions&titles=User:DannyS712/Mass%20message%20page%20testing&rvslots=*&rvprop=timestamp%7Cuser%7Ccontent, returns the serialized JSON. To be able to retrieve the description, so that it can easily be modified using the API (T226929) as well as to check the list of users, a new query API action, action=query&prop=massmessagelistcontent, should be created.

Acceptance criteria:
Accepts parameter spamlist
Returns, for the specified page,

  • spamlist description
  • Array of targets (including site, if applicable)

Event Timeline

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

Change 602791 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/MassMessage@master] Add an API module to retrieve spamlist content

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

Triaging based on maintainers list

@AMooney tagged external code reviews when I asked if CPT was willing to review the patch - are you no longer willing to do so?

Change 602791 merged by jenkins-bot:

[mediawiki/extensions/MassMessage@master] Add an API module to retrieve spamlist content

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