MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

submodule=moderate-post (mp)

(main | flow | moderate-post)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Flow
  • License: GPL-2.0+

Moderates a Flow post.

Parameters:
mpmoderationState

What level to moderate at.

This parameter is required.
One of the following values: Can be empty, or delete, hide, suppress, restore, unhide, undelete, unsuppress
mpreason

Reason for moderation.

This parameter is required.
mppostId

ID of the post to moderate.

This parameter is required.
token

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

This parameter is required.