MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

submodule=moderate-topic (mt)

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

Moderates a Flow topic.

Parameters:
mtmoderationState

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
mtreason

Reason for moderation.

This parameter is required.
token

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

This parameter is required.