MediaWiki API yardımı
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=review
(main | review)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Flagged Revisions
- License: GPL-2.0-or-later
Review a revision by approving or de-approving it.
Parametre:
- revid
Bayrakların ayarlanacağı revizyon kimliği.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- comment
Bu değerlendirme için yorum.s
- unapprove
Set, revizyon yerine onaylanmamış kabul edilecektir.
- Type: boolean (details)
- flag_accuracy
Bu bayrak kümesi "accuracy" için belirtilen değer.
- One of the following values: 0, 1, 2, 3
- Varsayılan: 1
- flag_depth
Bu bayrak kümesi "depth" için belirtilen değer.
- One of the following values: 0, 1, 2, 3
- Varsayılan: 1
- flag_style
Bu bayrak kümesi "style" için belirtilen değer.
- One of the following values: 0, 1, 2, 3
- Varsayılan: 1
Example:
- Yorum "Ok"ile revizyon 12345 onaylaması
- api.php?action=review&revid=12345&token=123AB&flag_accuracy=1&comment=Ok [open in sandbox]