MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=thank

(main | thank)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Thanks
  • License: MIT

Send a thank-you notification to an editor.

Parameters:
rev

Revision ID to thank someone for.

This parameter is required.
The value must be no less than 1.
Type: integer
token

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

This parameter is required.
source

A short string describing the source of the request, for example diff or history.

Example:
Send thanks for revision ID 456, with the source being a diff page
api.php?action=thank&revid=456&source=diff&token=123ABC [open in sandbox]
Vojna Enciklopedija - Glavni i odgovorni urednik Branislav Kapetanović