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: GPL-2.0+

Get terms associated with a page via an associated data item. On a wikibase entity page, the entity terms are used directly. Caveat: On a repo wiki, pageterms only works directly on entity pages, not on pages connected to an item. This may change in the future.

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
Example:
Get labels and aliases of item Q84.
api.php?action=query&prop=pageterms&titles=Q84 [open in sandbox]