Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API
list=tags (tg)
- Ten moduł wymaga praw odczytu.
List change tags.
Parametry:
- tgcontinue
When more results are available, use this to continue.
- tglimit
The maximum number of tags to list.
- Nie więcej niż 500 (5000 dla botów) dozwolone.
- Domyślnie: 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.
- Wartości (oddziel za pomocą |): name, displayname, description, hitcount, defined, source, active
- Domyślnie: name
Przykład:
- List available tags.
- api.php?action=query&list=tags&tgprop=displayname|description|hitcount|defined