Справка MediaWiki API

This is an auto-generated MediaWiki API documentation page.

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

action=managetags

(main | managetags)
  • Этот модуль требует прав на чтение.
  • Этот модуль требует права на запись.
  • Этот модуль принимает только Post-запросы.
  • Источник: MediaWiki
  • Лицензия: GPL-2.0+

Perform management tasks relating to change tags.

Параметры:
operation

Which operation to perform:

create
Create a new change tag for manual use.
delete
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
Activate a change tag, allowing users to apply it manually.
deactivate
Deactivate a change tag, preventing users from applying it manually.
Это обязательный параметр.
Одно из следующих значений: create, delete, activate, deactivate
tag

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.

Это обязательный параметр.
reason

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

ignorewarnings

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

Тип: двоичный (details)
token

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

Это обязательный параметр.