راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شدهاست.
مستندات و نمونهها: 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.
پارامترها:
- 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. Leave both this and elquery empty to list all external links. 
- یکی از مقدارهای زیر: Can be empty, or bitcoin، ftp، ftps، geo، git، gopher، http، https، irc، ircs، magnet، mailto، matrix، mms، news، nntp، redis، sftp، sip، sips، sms، ssh، svn، tel، telnet، urn، worldwind، xmpp
- پیشفرض: (خالی)
- 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 Main Page.
- api.php?action=query&prop=extlinks&titles=Main%20Page [باز کردن در صفحهٔ تمرین]