MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=review

(main | review)
  • Este módulo requiere permisos de lectura.
  • Este módulo requiere permisos de escritura.
  • Este módulo solo acepta solicitudes POST.
  • Fuente: Flagged Revisions
  • Licencia: GPL-2.0+

Review a revision by approving or de-approving it.

Parámetros:
revid

The revision ID for which to set the flags.

token

A "csrf" token retrieved from action=query&meta=tokens

Este parámetro es obligatorio.
comment

Comment for the review.

unapprove

If set, revision will be unapproved rather than approved.

Tipo: booleano/lógico (detalles)
flag_accuracy

Set the flag accuracy to the specified value.

Uno de los siguientes valores: 0, 1, 2, 3
Predeterminado: 1
flag_depth

Set the flag depth to the specified value.

Uno de los siguientes valores: 0, 1, 2, 3
Predeterminado: 1
flag_style

Set the flag style to the specified value.

Uno de los siguientes valores: 0, 1, 2, 3
Predeterminado: 1
Ejemplo:
Approve revision 12345 with comment "Ok"
api.php?action=review&revid=12345&token=123AB&flag_accuracy=1&comment=Ok