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=wbentityusage (wbeu)

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

Returns all entity IDs used in the given pages.

Parameters:
wbeuprop

Properties to add to the result.

url
If enabled url of entity will be added
Values (separate with | or alternative): url
wbeuaspect

Only return entity IDs that used this aspect.

Values (separate with | or alternative): C, D, L, O, S, T, X
wbeuentities

Only return page that used these entities.

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients allowed higher limits).
wbeulimit

How many entity usages to return.

Type: integer or max
The value must be between 1 and 500.
Default: 10
wbeucontinue

When more results are available, use this to continue.

Examples:
Get entities used in the page Main Page.
api.php?action=query&prop=wbentityusage&titles=Main%20Page [open in sandbox]