MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

prop=pageterms (wbpt)

(main | query | pageterms)
  • This module requires read rights.
  • Source: Wikibase Client
  • License: See link

Get terms associated with a page via an associated data item.

Parameters:
wbptcontinue

When more results are available, use this to continue.

Type: integer
wbptterms

The types of terms to get, e.g. 'description'. If not specified, all types are returned.

Values (separate with |): alias, description, label
Examples:
Get all terms associated with the page 'London', in the user language.
api.php?action=query&prop=pageterms&titles=London
Get labels and aliases associated with the page 'London', in English.
api.php?action=query&prop=pageterms&titles=London&wbptterms=label|alias&uselang=en