MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=massmessage
(main | massmessage)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: MassMessage
- License: GPL-2.0-or-later
Send a message to a list of pages.
Parameters:
- spamlist
Page containing list of pages to leave a message on.
- This parameter is required.
- subject
Subject line of the message.
- This parameter is required.
- message
Message body text.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Send a message to the list at Signpost Spamlist with the subject "New Signpost", and message body of "Please read it"
- api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&token=TOKEN [open in sandbox]