رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: 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 1 and 500.
- طے شدہ: 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 the page صفحۂ اول.
- api.php?action=query&prop=extlinks&titles=%D8%B5%D9%81%D8%AD%DB%82%20%D8%A7%D9%88%D9%84 [تختۂ مشق میں کھولیں]