Axuda da API de MediaWiki
Esta é unha páxina de documentación da API de MediaWiki xerada automaticamente.
Documentación e exemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=echocreateevent
(main | echocreateevent)
- Este módulo precisa permisos de lectura.
- Este módulo precisa permisos de escritura.
- Este módulo só acepta peticións POST.
- Fonte: Echo
- Licenza: MIT
Manually trigger a notification to a user
Parámetros específicos:
Hai dispoñibles outros parámetros xerais.
- user
User to send the notification to
- Tipo: usuario, por calquera de nome de usuario e ID de usuario (p. ex. "#12345")
- header
Header content of the notification
- Este parámetro é obrigatorio.
- Non pode superar 160 bytes.
- content
Body content of the notification
- Este parámetro é obrigatorio.
- Non pode superar 5.000 bytes.
- page
Page to link to in the notification
- Tipo: título da páxina
- Acepta páxinas que non existen.
- section
Section where notification would be delivered
- Este parámetro é obrigatorio.
- Un valor dos seguintes valores: alert, notice
- Por defecto: notice
Whether to send an email as well
- Tipo: booleano (detalles)
- token
Un identificador "csrf" recuperado por action=query&meta=tokens
- Este parámetro é obrigatorio.
Exemplo: