رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=extracts (ex)

(main | query | extracts)
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • ماخذ: TextExtracts
  • اجازت نامہ: GPL-2.0-or-later

Returns plain-text or limited HTML extracts of the given pages.

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
exchars

How many characters to return. Actual text returned might be slightly longer.

Type: integer
The value must be between 1 and 1,200.
exsentences

How many sentences to return.

Type: integer
The value must be between 1 and 10.
exlimit

How many extracts to return. (Multiple extracts can only be returned if exintro is set to true.)

طرز: عدد صحیح یا max
The value must be between 1 and 20.
طے شدہ: 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.

Type: integer