Pomoć oko Medijavikijevog API-ja

Ovo je automatski generisana dokumentacija za Medijaviki API

Dokumentacija i primeri: 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.
  • Izvor: Thanks
  • Licenca: MIT

Pošalji obavijest o zahvali uređivaču.

Parametri:
Other general parameters are available.
rev

Naznaka inačice za koju zahvaljujete. Mora da bude ukazano ovo ili „log“.

Type: integer
The value must be no less than 1.
log

Naznaka evidencije za koju nekomu hvalite. Mora da bude ukazano ovo ili „rev“.

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.

Primjer:
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]