Помоћ око Медијавикијевог API-ја

Ово је аутоматски генерисана документација за Медијавики API

Документација и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=echocreateevent

(main | echocreateevent)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Извор: Echo
  • Лиценца: MIT

Manually trigger a notification to a user

Специфични параметри:
Other general parameters are available.
user

User to send the notification to

Тип: корисник, по: корисничко име и ID корисника (нпр. „#12345”)
header

Header content of the notification

This parameter is required.
Cannot be longer than 160 bytes.
content

Body content of the notification

This parameter is required.
Cannot be longer than 5.000 bytes.
page

Page to link to in the notification

Тип: наслов странице
Прихвата непостојеће странице.
section

Section where notification would be delivered

This parameter is required.
One of the following values: alert, notice
Default: notice
email

Whether to send an email as well

Type: boolean (details)
token

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

This parameter is required.