Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API

action=emailuser

(main | emailuser)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł wymaga praw zapisu.
  • Ten moduł akceptuje tylko żądania POST.

Wyślij e‐mail do użytkownika.

Parametry:
target

User to send email to.

Ten parametr jest wymagany.
subject

Subject header.

text

Mail body.

Ten parametr jest wymagany.
ccme

Send a copy of this mail to me.

token

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

Ten parametr jest wymagany.
Przykład:
Send an email to the User WikiSysop with the text Content.
api.php?action=emailuser&target=WikiSysop&text=Content&token=123ABC