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)
  • Ta modul zahteva pravice branja.
  • This module requires write rights.
  • Ta modul sprejema samo zahtevke POST.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Email a user.

Parameters:
target

User to send the email to.

Ta parameter je obvezen.
subject

Subject header.

Ta parameter je obvezen.
text

Email body.

Ta parameter je obvezen.
ccme

Send a copy of this mail to me.

Type: boolean (details)
token

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

Ta parameter je obvezen.
Zgled:
Send an email to the user WikiSysop with the text Content.
api.php?action=emailuser&target=WikiSysop&text=Content&token=123ABC [open in sandbox]