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=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.

Specific parameters:
Other general parameters are available.
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.

page-message

Page to be sent along with the message body.

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Examples:
Send a message to the list at with the subject "New Signpost", and message body of "Please read it".
[open in sandbox]
Send a message to the list at with the subject "New Signpost", and the message as the content of the page "Help Page".
[open in sandbox]
Send a message to the list at with the subject "New Signpost", and message body of "Please read it" appended with the content from page "Help Page".
[open in sandbox]