راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=extlinks (el)
- این پودمان نیازمند اختیارات خواندن است.
- منبع: MediaWiki
- مجوز: GPL-2.0-or-later
Returns all external URLs (not interwikis) from the given pages.
پارامترها:
Other general parameters are available.
- ellimit
How many links to return.
- نوع: عدد صحیح یا max
- The value must be between ۱ and ۵۰۰.
- پیشفرض: 10
- elcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- elprotocol
Protocol of the URL. If empty and elquery is set, the protocol is http and https. Leave both this and elquery empty to list all external links.
- یکی از مقدارهای زیر: Must be empty
- پیشفرض: (خالی)
- elquery
Search string without protocol. Useful for checking whether a certain page contains a certain external url.
- elexpandurl
- منسوخشده.
Expand protocol-relative URLs with the canonical protocol.
- نوع: بولی (جزئیات)
نمونه:
- Get a list of external links on the page گتˇ ولگ.
- api.php?action=query&prop=extlinks&titles=%DA%AF%D8%AA%CB%87%20%D9%88%D9%84%DA%AF [باز کردن در صفحهٔ تمرین]