MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

prop=pageterms (wbpt)

(main | query | pageterms)
  • This module requires read rights.
  • Source: WikibaseClient
  • License: GPL-2.0-or-later

Get the Lingua Libre 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.

Parameters:
wbptcontinue

When more results are available, use this to continue.

Type: integer
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.

Values (separate with | or alternative): alias, description, label
Default: alias|label|description