رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=description (desc)
- یہ ماڈیول اندرونی یا غیر مستحکم ہے۔ چنانچہ بغیر کسی اطلاع کے اس کا طریقۂ کار تبدیل ہو سکتا ہے۔
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: WikibaseClient
- اجازت نامہ: GPL-2.0-or-later
Get a short description a.k.a. subtitle explaining what the target page is about.
The description is plain text, on a single line, but otherwise arbitrary (potentially including raw HTML tags, which also should be interpreted as plain text). It must not be used in HTML unescaped!
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- desccontinue
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
- طے شدہ: 0
- descprefersource
Which description source to prefer if present:
- local
- Local descriptions via
{{SHORTDESC:...}}
parser function in the wikitext of the page. - central
- Central descriptions from the associated ویکی ڈیٹا item.
- ذیل کی قدروں میں سے کوئی ایک: central، local
- طے شدہ: local
مثالیں
- Get the description for the page 'London'.
- api.php?action=query&prop=description&titles=London [تختۂ مشق میں کھولیں]
- Get the description for the page 'London', preferring the central description if it exists.
- api.php?action=query&prop=description&titles=London&descprefersource=central [تختۂ مشق میں کھولیں]