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

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

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

action=opensearch

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

اوپن سرچ پروٹوکول کا استعمال کرتے ہوئے ویکی ویب گاہ میں تلاش کرتا ہے۔

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

Search string.

یہ پیرامیٹر لازمی ہے۔
namespace

Namespaces to search. Ignored if search begins with a valid namespace prefix.

قدریں (| سے امتیاز کیا گیا ہے یا متبادل): 0، 1، 2، 3، 4، 5، 6، 7، 8، 9، 10، 11، 12، 13، 14، 15، 100، 101، 102، 103، 118، 119، 710، 711، 828، 829، 2600
To specify all values, use *.
طے شدہ: 0
limit

Maximum number of results to return.

طرز: عدد صحیح یا max
The value must be between 1 and 500.
طے شدہ: 10
profile

Search profile to use.

strict
Strict profile with few punctuation characters removed but diacritics and stress marks are kept.
normal
Few punctuation characters, some diacritics and stopwords removed.
fuzzy
Similar to normal with typo correction (two typos supported).
fast-fuzzy
Experimental fuzzy profile (may be removed at any time)
classic
Classic prefix, few punctuation characters and some diacritics removed.
engine_autoselect
Let the search engine decide on the best profile to use.
ذیل کی قدروں میں سے کوئی ایک: classic، engine_autoselect، fast-fuzzy، fuzzy، normal، strict
طے شدہ: engine_autoselect
suggest
Deprecated.

No longer used.

طرز: بولین (تفصیلات)
redirects

How to handle redirects:

return
Return the redirect itself.
resolve
Return the target page. May return fewer than limit results.

For historical reasons, the default is "return" for format=json and "resolve" for other formats.

ذیل کی قدروں میں سے کوئی ایک: resolve، return
format

حاصل شدہ مواد کا فارمیٹ۔

ذیل کی قدروں میں سے کوئی ایک: json، jsonfm، xml، xmlfm
طے شدہ: json
warningsaserror

If warnings are raised with format=json, return an API error instead of ignoring them.

طرز: بولین (تفصیلات)