MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=wbentityusage (wbeu)
- 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): S, L, D, T, C, X, O
- wbeuentities
Only return page that used these entities.
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
- wbeulimit
How many entity usages to return.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- wbeucontinue
When more results are available, use this to continue.
Example:
- Get entities used in the page Main Page.
- api.php?action=query&prop=wbentityusage&titles=Main%20Page [open in sandbox]