MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=FlexFormAsk

(main | FlexFormAsk)

Used internally for FlexForm to perform SMW Ask queries on tokens

Specific parameters:
Other general parameters are available.
query

Base64query

This parameter is required.
q

Search

returnid

(optional) lets you set a property for the value to be stored. This defaults to the page name.

returntext

lets you set a property for the visible label of the token

template

same as SMW Ask query template

ffform

(optional) lets you set a SMW Filter query that will be added to the query. Additional you can use [fffield='<name of a form field>'] inside the fquery to dynamically add a value of a form field in the filter query

limit

(optional) lets you sets the maximum number of pages to be returned by the query

Example:
Fill the base64 query and use q for search
api.php?action=FlexFormAsk&query=base64query&q=search [open in sandbox]