راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wbformatentities
(main | wbformatentities)
- این پودمان نیازمند اختیارات خواندن است.
- منبع: WikibaseRepository
- مجوز: GPL-2.0-or-later
Formats entity IDs to HTML.
The language can be specified with the global uselang parameter.
پارامتر:
Other general parameters are available.
- ids
The entity IDs to format.
- Separate values with | or alternative.
- حداکثر تعداد مقدارها ۵۰ است (۵۰۰ برای متقضایانی که مجوز محدودیتهای بالاتر را دارند).
نمونهها:
- Format a single item ID.
- api.php?action=wbformatentities&ids=Q2 [باز کردن در صفحهٔ تمرین]
- Format an item ID and a property ID.
- api.php?action=wbformatentities&ids=Q2|P2 [باز کردن در صفحهٔ تمرین]
- Format three item IDs in French.
- api.php?action=wbformatentities&ids=Q2|Q3|Q4&uselang=fr [باز کردن در صفحهٔ تمرین]