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

(main | echocreateevent)
  • Denna modul kräver läsrättigheter.
  • Denna modul kräver skrivrättigheter.
  • Denna modul accepterar endast POST-begäranden.
  • Source: Echo
  • License: MIT

Manually trigger a notification to a user

Parametrar:
Other general parameters are available.
user

User to send the notification to

Typ: användare, genom något av användarnamn och användar-ID (t.ex. "#12345")
header

Header content of the notification

Den här parametern är obligatorisk.
Kan inte vara längre än 160 byte.
content

Body content of the notification

Den här parametern är obligatorisk.
Kan inte vara längre än 5 000 byte.
page

Page to link to in the notification

Typ: Sidans titel
Accepterar sidor som inte finns.
section

Section where notification would be delivered

Den här parametern är obligatorisk.
Ett av följande värden: alert, notice
Standard: notice
email

Whether to send an email as well

Type: boolean (details)
token

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

Den här parametern är obligatorisk.