MediaWiki API súgó

Ez egy automatikusan generált MediaWiki API-dokumentációs lap.

Dokumentáció és példák: https://www.mediawiki.org/wiki/API

prop=pageterms (wbpt)

(main | query | pageterms)
  • Ez a modul olvasási jogot igényel.
  • Forrás: WikibaseClient
  • Licenc: GPL-2.0-or-later

Get the Data JW United terms (typically labels, descriptions and aliases) associated with a page via a sitelink. On the entity page itself, the terms are used directly. Caveat: On a repo wiki, this module only works directly on entity pages, not on pages connected to an entity via a sitelink. This may change in the future.

Paraméterek:
wbptcontinue

When more results are available, use this to continue.

Típus: egész
wbptterms

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.

Értékek (elválasztó: | vagy más): alias, description, label
Példa:
A Q84 elem címkéinek és más neveinek lekérdezése.
api.php?action=query&prop=pageterms&titles=Q84 [open in sandbox]