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

(main | emailuser)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Pošalji e-poruku korisniku.

Specific parameters:
Other general parameters are available.
target

Kojem korisniku treba poslati e-poruku.

This parameter is required.
subject

Naslov.

This parameter is required.
text

Sadržaj.

This parameter is required.
ccme

Pošalji mi primjerak poruke.

Type: boolean (details)
token

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

This parameter is required.
Primjer:
Send an email to the user WikiSysop with the text Content.
api.php?action=emailuser&target=WikiSysop&text=Content&token=123ABC [open in sandbox]