Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=tags (tg)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: MediaWiki
- Licence: GPL-2.0-or-later
List change tags.
Parametry:
Other general parameters are available.
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
The maximum number of tags to list.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
Which properties to get:
- displayname
- Adds the displayed name of the tag. This property will be omitted for hidden tags.
- description
- Adds the description of the tag.
- hitcount
- Adds the number of revisions and log entries that have this tag.
- defined
- Indicate whether the tag is defined (see source).
- source
- Gets the sources of the tag definition, which may include software for software-defined tags and manual for tags that may be applied manually by users.
- active
- Whether the tag is still being applied by the software, or may still be applied by users.
- Hodnoty (oddělené | nebo alternativou.): active, defined, description, displayname, hitcount, source
- Implicitní hodnota: (prázdné)
Příklad:
- Získat seznam dostupných tagů.
- api.php?action=query&list=tags&tgprop=displayname|description|hitcount|defined [otevřít v pískovišti]