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=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.
Specific parameters:
Other general parameters are available.
- rev
Revision ID to thank someone for. This or 'log' must be provided.
- Type: integer
- The value must be no less than 1.
- log
Log ID to thank someone for. This or 'rev' must be provided.
- Type: integer
- The value must be no less than 1.
- 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
- [open in sandbox]