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.
Parameters:
- 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 allowed higher limits).
- remove
Titles to remove from the list.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Examples:
- Add User talk:Foo and Talk:Bar to the delivery list Example and remove Talk:Baz from it
- api.php?action=editmassmessagelist&spamlist=Example&add=User%20talk%3AFoo%7CTalk%3ABar&remove=Talk%3ABaz&token=TOKEN [open in sandbox]
- Set the description of the delivery list Example to be "FooBar delivery services"
- api.php?action=editmassmessagelist&spamlist=Example&description=FooBor%20delivery%20services&token=TOKEN [open in sandbox]