MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples:


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

Perform management tasks relating to change tags.

Specific parameters:
Other general parameters are available.

Which operation to perform:

Create a new change tag for manual use.
Remove a change tag from the database, including removing the tag from all revisions, recent change entries and log entries on which it is used.
Activate a change tag, allowing users to apply it manually.
Deactivate a change tag, preventing users from applying it manually.
This parameter is required.
One of the following values: activate, create, deactivate, delete

Tag to create, delete, activate or deactivate. For tag creation, the tag must not exist. For tag deletion, the tag must exist. For tag activation, the tag must exist and not be in use by an extension. For tag deactivation, the tag must be currently active and manually defined.

This parameter is required.

An optional reason for creating, deleting, activating or deactivating the tag.

Default: (empty)

Whether to ignore any warnings that are issued during the operation.

Type: boolean (details)

Change tags to apply to the entry in the tag management log.

Values (separate with | or alternative):

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

This parameter is required.