Помощ за МедияУики API
Това е автоматично генерирана страница за документация на МедияУики API.
Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=review
(main | review)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Отбелязани редакции
- License: GPL-2.0-or-later
Review a revision by approving or de-approving it.
Parameters:
- revid
The revision ID for which to set the flags.
- comment
Comment for the review.
- unapprove
If set, revision will be unapproved rather than approved.
- Type: boolean (details)
- flag_accuracy
Set the flag accuracy to the specified value.
- Една от следните стойности: 0, 1, 2, 3
- Default: 1
- token
Маркер „csrf“, получен от action=query&meta=tokens
- This parameter is required.
Пример:
- Approve revision 12345 with comment "Ok"
- api.php?action=review&revid=12345&token=123AB&flag_accuracy=1&comment=Ok [open in sandbox]