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

(main | managetags)
  • Ta modul zahteva pravice branja.
  • This module requires write rights.
  • Ta modul sprejema samo zahtevke POST.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Perform management tasks relating to change tags.

Specifični parametri:
Na voljo so tudi drugi splošni parametri.
operation

Katero dejanje naj se izvede:

create
Ustvarite novo oznako spremembe za ročno uporabo.
delete
Odstranite oznako spremembe iz baze podatkov, vključno z odstranitvijo oznake iz vseh revizij, nedavnih vnosov sprememb in vnosov v dnevnik, v katerih se uporablja.
activate
Deaktiviranje oznake spremembe, kar uporabnikom prepreči, da bi jo uporabili ročno.
deactivate
Deaktiviranje oznake spremembe, kar uporabnikom prepreči, da bi jo uporabili ročno.
Ta parameter je obvezen.
One of the following values: activate, create, deactivate, delete
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.

Ta parameter je obvezen.
reason

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

Default: (empty)
ignorewarnings

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

Type: boolean (details)
tags

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

Values (separate with | or alternative):
token

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

Ta parameter je obvezen.