MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=tags (tg)
- Denna modul kräver läsrättigheter.
- Source: MediaWiki
- License: GPL-2.0+
List change tags.
Parametrar:
- tgcontinue
When more results are available, use this to continue.
- tglimit
The maximum number of tags to list.
- Inte mer än 500 (5 000 för robotar) tillåts.
- 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.
- Värden (separerade med |): name, displayname, description, hitcount, defined, source, active
- Default: name
Example:
- Lista tillgängliga taggar.
- api.php?action=query&list=tags&tgprop=displayname|description|hitcount|defined