راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده‌است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=pfautocomplete

(main | pfautocomplete)
  • این پودمان نیازمند اختیارات خواندن است.
  • منبع: Page Forms
  • مجوز: GPL-2.0-or-later

Autocompletion used by the Page Forms extension.

پارامترها:
limit

A limit on the number of results returned

نوع: عدد صحیح یا max
The value must be between ۱ and ۵۰۰.
پیش‌فرض: 10
substr

The substring to autocomplete on

property

A Semantic MediaWiki property whose values will be autocompleted on

category

A category whose pages will be autocompleted on

concept

A Semantic MediaWiki "concept" whose pages will be autocompleted on

wikidata

Search string for getting values from Wikidata

semantic_query
⧼apihelp-pfautocomplete-param-semantic_query⧽
cargo_table

A database table, defined by the Cargo extension, whose values will be autocompleted on

cargo_field

The field of the Cargo table whose values will be autocompleted on

cargo_where
⧼apihelp-pfautocomplete-param-cargo_where⧽
namespace

A namespace whose pages will be autocompleted on

external_url

An alias for an external URL from which to get values

baseprop

A previous Semantic MediaWiki property in the form to check against

base_cargo_table

The Cargo table for a previous field in the form to check against

base_cargo_field

The Cargo field for a previous field in the form to check against

basevalue

The value to check for the previous property or field