Ayuda de la API de MediaWiki

Esta es una página de documentación autogenerada de la API de MediaWiki.

Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=massmessage

(main | massmessage)
  • Este módulo requiere permisos de lectura.
  • Este módulo requiere permisos de escritura.
  • Este módulo solo acepta solicitudes POST.
  • Fuente: MassMessage
  • Licencia: GPL-2.0-or-later

Send a message to a list of pages.

Parámetros:
spamlist

Página que contiene una lista de páginas en que se dejará un mensaje.

Este parámetro es obligatorio.
subject

Línea de asunto del mensaje.

Este parámetro es obligatorio.
message

Texto del cuerpo del mensaje.

page-message

Page to be sent along with the message body.

token

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

Este parámetro es obligatorio.
Ejemplos:
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 [abrir en la zona de pruebas]
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 [abrir en la zona de pruebas]