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=moderation

(main | moderation)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Moderation
  • License: GPL-3.0+

Performs moderation-related action like Approve or Reject.

Parameters:
modaction

Moderation-related action to perform.

This parameter is required.
One of the following values: approve, approveall, block, reject, rejectall, show, unblock
modid

ID of the pending change.

This parameter is required.
Type: integer
token

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

This parameter is required.
Retrieved from "http:///Special:ApiHelp"