Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_pag
prop=entityterms (wbet)
- Ten moduł wymaga praw odczytu.
- Źródło: WikibaseClient
- Licencja: GPL-2.0-or-later
Get the terms (labels, descriptions and aliases) of the entity on this page.
Parametry:
- wbetcontinue
Gdy będzie dostępnych więcej wyników, użyj tego do kontynuowania.
- Type: integer
- wbetterms
The types of terms to get, e.g. 'description', each returned as an array of strings keyed by their type, e.g. {"description": ["foo"]}. If not specified, all types are returned.
- Wartości (oddziel za pomocą | lub alternatywy): alias, description, label
- Default: alias|label|description
Przykład:
- Get labels and aliases of item Q84.
- api.php?action=query&prop=entityterms&titles=Q84 [otwórz w brudnopisie]