This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=managetags
- Questo modulo richiede i diritti di lettura.
- Questo modulo richiede i diritti di scrittura.
- Questo modulo accetta solo richieste POST.
- Fonte: MediaWiki
- Licenza: GPL-2.0-or-later
Perform management tasks relating to change tags.
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.
- This parameter is required.
- Uno dei seguenti valori: 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.
- Predefinito: (vuoto)
Whether to ignore any warnings that are issued during the operation.
- Tipo: booleano (dettagli)
Change tags to apply to the entry in the tag management log.
- Valori (separati da | o alternativa): AWB, Editor wikitesto 2017, Unione di crono, WPCleaner, aggiunta ripetuta di collegamenti esterni da parte di un nuovo utente, copyviol, domanda ad un tutor, modifica inattesa del tmp bozza, possibile-nui, prove-it, quick-responses, requests-wizard, ripristino-rapido, traduzionecontenuti, vandalismo
Un token "csrf" recuperato da action=query&meta=tokens
- This parameter is required.
- Create a tag named spam with the reason For use in edit patrolling
- api.php?action=managetags&operation=create&tag=spam&reason=For+use+in+edit+patrolling&token=123ABC [apri in una sandbox]
- Delete the vandlaism tag with the reason Misspelt
- api.php?action=managetags&operation=delete&tag=vandlaism&reason=Misspelt&token=123ABC [apri in una sandbox]
- Activate a tag named spam with the reason For use in edit patrolling
- api.php?action=managetags&operation=activate&tag=spam&reason=For+use+in+edit+patrolling&token=123ABC [apri in una sandbox]
- Deactivate a tag named spam with the reason No longer required
- api.php?action=managetags&operation=deactivate&tag=spam&reason=No+longer+required&token=123ABC [apri in una sandbox]