MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=editmassmessagelist
(main | editmassmessagelist)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: MassMessage
- License: GPL-2.0-or-later
Edit a mass message delivery list.
Specific parameters:
Other general parameters are available.
- spamlist
Title of the delivery list to update.
- This parameter is required.
- description
New description for the delivery list.
- add
Titles to add to the list.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- remove
Titles to remove from the list.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- minor
Whether the edit should be marked as minor in the history of the list.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- One of the following values: nochange, preferences, unwatch, watch
- Default: preferences
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Examples:
- Add and to the delivery list and remove from it
- [open in sandbox]
- Set the description of the delivery list to be "FooBar delivery services"
- [open in sandbox]