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)
  • Denna modul kräver läsrättigheter.
  • Denna modul kräver skrivrättigheter.
  • Denna modul accepterar endast POST-begäranden.
  • Source: Flaggade sidversioner
  • License: GPL-2.0-or-later

Review a revision by approving or de-approving it.

Parametrar:
revid

The revision ID for which to set the flags.

token

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

Den här parametern är obligatorisk.
comment

Kommentar för granskningen.

unapprove

If set, revision will be unapproved rather than approved.

Type: boolean (details)
flag_accuracy

Set the flag accuracy to the specified value.

Ett av följande värden: 0, 1, 2, 3
Default: 1
flag_depth

Set the flag depth to the specified value.

Ett av följande värden: 0, 1, 2, 3
Default: 1
flag_style

Set the flag style to the specified value.

Ett av följande värden: 0, 1, 2, 3
Default: 1