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.
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.
- 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 (separade 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