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.
- Fonto: Thanks
- License: MIT
Danki redaktinton.
Specific parameters:
Other general parameters are available.
- rev
Numero de versio kies redaktinto estas dankota. Aŭ tiu aŭ 'log' devas esti specifita.
- Type: integer
- The value must be no less than 1.
- log
Numero de protokolero, kies protokolinto estas dankota. Aŭ tiu aŭ 'rev' devas esti specifita.
- 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
Mallonga teksto priskribanta la fonton de la peto, ekzemple diff aŭ history.
Example:
- Danki pro versio ID 456, kun la diferenco-paĝo kiel la fonto
- api.php?action=thank&revid=456&source=diff&token=123ABC [open in sandbox]