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
action=wbformatentities
(main | wbformatentities)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: WikibaseClient
- Licence: GPL-2.0-or-later
Formats entity IDs to HTML.
The language can be specified with the global uselang parameter.
Parametr:
- ids
The entity IDs to format.
- Hodnoty oddělujte pomocí | nebo alternativou.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
Příklady:
- Format a single item ID.
- api.php?action=wbformatentities&ids=Q2 [otevřít v pískovišti]
- Format an item ID and a property ID.
- api.php?action=wbformatentities&ids=Q2|P2 [otevřít v pískovišti]
- Format three item IDs in French.
- api.php?action=wbformatentities&ids=Q2|Q3|Q4&uselang=fr [otevřít v pískovišti]