راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=prefixsearch (ps)
- این پودمان نیازمند اختیارات خواندن است.
- This module can be used as a generator.
- منبع: MediaWiki
- مجوز: GPL-2.0-or-later
Perform a prefix search for page titles.
Despite the similarity in names, this module is not intended to be equivalent to Special:PrefixIndex; for that, see action=query&list=allpages with the apprefix parameter. The purpose of this module is similar to action=opensearch: to take user input and provide the best-matching titles. Depending on the search engine backend, this might include typo correction, redirect avoidance, or other heuristics.
- pssearch
جستجوی رشته
- این پارامتر الزامی است.
- psnamespace
فضاهای نامی برای جستجو
- مقدارهای (جداشده با | یا جایگزینهای آن): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- برای تعیین همهٔ مقدارها از * استفاده کنید.
- پیشفرض: 0
- pslimit
حداکثر تعداد نتایج برای بازگرداندن.
- نوع: عدد صحیح یا max
- The value must be between ۱ and ۵۰۰.
- پیشفرض: 10
- psoffset
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- نوع: عدد صحیح
- The value must be no less than ۰.
- پیشفرض: 0
- Search for page titles beginning with meaning.
- api.php?action=query&list=prefixsearch&pssearch=meaning [باز کردن در صفحهٔ تمرین]