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
list=tags (tg)
- Denna modul kräver läsrättigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista ändringsmärken.
Parametrar:
- tgcontinue
When more results are available, use this to continue.
- tglimit
The maximum number of tags to list.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- tgprop
Which properties to get:
- 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 | eller alternativ): active, defined, description, displayname, hitcount, source
- Default: (empty)
Example:
- Lista tillgängliga taggar.
- api.php?action=query&list=tags&tgprop=displayname|description|hitcount|defined [open in sandbox]