Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|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.
- Извор: Thanks
- Лиценца: MIT
Send a thank-you notification to an editor.
Специфични параметри:
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.
Пример:
- 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]