Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/API
list=wblistentityusage (wbeu)
- Tento modul vyžaduje oprávnění ke čtení.
- Tento modul lze využívat jako generátor.
- Zdroj: WikibaseClient
- Licence: GPL-2.0-or-later
Returns all pages that use the given entity IDs.
Parametry:
- wbeuprop
Properties to add to the result.
- url
- If enabled the url of the entity will be added to the result.
- Hodnoty (oddělené | nebo alternativou.): url
- wbeuaspect
Only return entity IDs that used this aspect.
- Hodnoty (oddělené | nebo alternativou.): C, D, L, O, S, T, X
- wbeuentities
Entities that have been used.
- This parameter is required.
- Hodnoty oddělujte pomocí | nebo alternativou.
- 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.
Příklady:
- Get pages that use the entity Q2.
- api.php?action=query&list=wblistentityusage&wbeuentities=Q2 [otevřít v pískovišti]
- Get pages that use the entity Q2 with URL included.
- api.php?action=query&list=wblistentityusage&wbeuentities=Q2&wbeuprop=url [otevřít v pískovišti]
- Get pages that use the entity Q2 and the aspect was sitelink or statement.
- api.php?action=query&list=wblistentityusage&wbeuentities=Q2&wbeuaspect=S|O [otevřít v pískovišti]