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)