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)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: MassMessage
  • Licenza: GPL-2.0-or-later

Send a message to a list of pages.

Parametri specifici:
Sono disponibili altri parametri generali.
spamlist

Pagina contenente l'elenco delle pagine su cui lasciare un messaggio.

This parameter is required.
subject

Oggetto del messaggio.

This parameter is required.
message

Testo del corpo del messaggio.

page-message

Page to be sent along with the message body.

token

Un token "csrf" recuperato da action=query&meta=tokens

This parameter is required.
Esempi:
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 [apri in una sandbox]
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and the message as the content of the page "Help Page".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&page-message=Help_Page&token=TOKEN [apri in una sandbox]
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and message body of "Please read it" appended with the content from page "Help Page".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&page-message=Help_Page&token=TOKEN [apri in una sandbox]