Ajuda da API MediaWiki

Esta é uma página de documentação da API MediaWiki gerada automaticamente.

Documentação e exemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=echocreateevent

(main | echocreateevent)
  • Este módulo requer direitos de leitura.
  • Este módulo requer direitos de gravação.
  • Este módulo aceita apenas pedidos POST.
  • Fonte: Echo
  • Licença: MIT

Manually trigger a notification to a user

Parâmetros:
Estão disponíveis outros parâmetros gerais.
user

User to send the notification to

Tipo: usuário, por qualquer de nome de usuário e ID de usuário (por exemplo "#12345")
header

Header content of the notification

Este parâmetro é obrigatório.
Não pode exceder 160 bytes.
content

Body content of the notification

Este parâmetro é obrigatório.
Não pode exceder 5 000 bytes.
page

Page to link to in the notification

Tipo: título de página
Aceita páginas que não existem.
section

Section where notification would be delivered

Este parâmetro é obrigatório.
Um dos seguintes valores: alert, notice
Padrão: notice
email

Whether to send an email as well

Tipo: booleano (detalhes)
token

Um token "csrf" token recuperado de action=query&meta=tokens

Este parâmetro é obrigatório.