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/Special:MyLanguage/API:Main_page
list=wbsubscribers (wbls)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: WikibaseClient
- Licence: GPL-2.0-or-later
Get subscriptions to given entities.
Parametry:
- wblsentities
Entities to get subscribers
- This parameter is required.
- Hodnoty oddělujte pomocí | nebo alternativou.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- wblsprop
Properties to add to result
- Hodnoty (oddělené | nebo alternativou.): url
- Implicitní hodnota: (prázdné)
- wblslimit
Maximal number of results
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- wblscontinue
When more results are available, use this to continue.
Příklady:
- Get subscribers to entity Q42
- api.php?action=query&list=wbsubscribers&wblsentities=Q42 [otevřít v pískovišti]
- Get subscribers to entity Q42 with URL to
Special:EntityUsage
included - api.php?action=query&list=wbsubscribers&wblsentities=Q42&wblsprop=url [otevřít v pískovišti]