MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=tags (tg)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0+
List change tags.
Parameters:
- tgcontinue
When more results are available, use this to continue.
- tglimit
The maximum number of tags to list.
- No more than 500 (5.000 for bots) allowed.
- Type: integer or max
- Default: 10
- tgprop
Which properties to get:
- name
- Adds name of tag.
- displayname
- Adds system message for the tag.
- description
- Adds description of the tag.
- hitcount
- Adds the number of revisions and log entries that have this tag.
- defined
- Indicate whether the tag is defined.
- source
- Gets the sources of the tag, which may include extension for extension-defined tags and manual for tags that may be applied manually by users.
- active
- Whether the tag is still being applied.
- Values (separate with |): name, displayname, description, hitcount, defined, source, active
- Default: name
Example:
- List available tags.
- api.php?action=query&list=tags&tgprop=displayname|description|hitcount|defined