راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=extracts (ex)
- این پودمان نیازمند اختیارات خواندن است.
- منبع: TextExtracts
- مجوز: GPL-2.0-or-later
Returns plain-text or limited HTML extracts of the given pages.
پارامترها:
Other general parameters are available.
- exchars
- How many characters to return. Actual text returned might be slightly longer. 
- نوع: عدد صحیح
- The value must be between ۱ and ۱٬۲۰۰.
- exsentences
- چند جمله بازگرداند. 
- نوع: عدد صحیح
- The value must be between ۱ and ۱۰.
- exlimit
- How many extracts to return. (Multiple extracts can only be returned if exintro is set to true.) 
- نوع: عدد صحیح یا max
- The value must be between ۱ and ۲۰.
- پیشفرض: 20
- exintro
- Return only content before the first section. 
- نوع: بولی (جزئیات)
- explaintext
- Return extracts as plain text instead of limited HTML. 
- نوع: بولی (جزئیات)
- exsectionformat
- How to format sections in plaintext mode: - plain
- No formatting.
- wiki
- Wikitext-style formatting (== like this ==).
- raw
- This module's internal representation (section titles prefixed with <ASCII 1><ASCII 2><section level><ASCII 2><ASCII 1>).
 
- یکی از مقدارهای زیر: plain، raw، wiki
- پیشفرض: wiki
- excontinue
- When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org. 
- نوع: عدد صحیح
نمونه:
- Get a 175-character extract
- api.php?action=query&prop=extracts&exchars=175&titles=Therion [باز کردن در صفحهٔ تمرین]