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=review
(main | review)
- Questo modulo richiede i diritti di lettura.
- Questo modulo richiede i diritti di scrittura.
- Questo modulo accetta solo richieste POST.
- Fonte: Revixion marcade
- Licenza: GPL-2.0-or-later
Review a revision by approving or de-approving it.
Parametri specifici:
Sono disponibili altri parametri generali.
- 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.
- Tipo: booleano (dettagli)
- flag_accuracy
Set the flag accuracy to the specified value.
- Uno dei seguenti valori: 0, 1, 2, 3
- Default: 1
- token
Un token "csrf" recuperato da action=query&meta=tokens
- This parameter is required.
Esempio:
- Approve revision 12345 with comment "Ok"
- api.php?action=review&revid=12345&token=123AB&flag_accuracy=1&comment=Ok [apri in una sandbox]