راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=automatictranslationdenselanguages
- این پودمان نیازمند اختیارات خواندن است.
- منبع: ContentTranslation
- مجوز: GPL-2.0-or-later
Fetch the list of sitelinks for the article that corresponds to a given Wikidata ID, ordered by article size.
پارامترها:
Other general parameters are available.
- qid
The Wikidata ID.
- این پارامتر الزامی است.
- section-titles
A boolean value indicating whether the section titles should be included in the response.
- نوع: بولی (جزئیات)
- limit
The maximum number of sitelinks to fetch.
- نوع: عدد صحیح
- پیشفرض: 15
نمونهها:
- Fetch the list of sitelinks for the 'Moon' article in all available languages, sorted by article size.
- api.php?action=query&list=automatictranslationdenselanguages&qid=Q405&limit=15 [باز کردن در صفحهٔ تمرین]
- Fetch the list of sitelinks for the 'Moon' article, including the section titles, in all available languages, sorted by article size.
- api.php?action=query&list=automatictranslationdenselanguages&qid=Q405§ion-titles=true [باز کردن در صفحهٔ تمرین]