Pomoc API MediaWiki

To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

meta=WikiSearch

(main | query | WikiSearch)

Perform advanced search queries against an ElasticSearch backend

Parametry:
Other general parameters are available.
pageid

The page ID of the page that contains the search engine config for the current request

Ten parametr jest wymagany.
Typ: liczba całkowita
term

The search query term used for full-text search

filter

An array of filters (as JSON) to apply to the search

aggregations

An array of aggregations (as JSON) to apply to the search

sortings

An array of sortings (as JSON) to apply to the search

from

From which offset to return search results

Typ: liczba całkowita
limit

The maximum number of search results to return

Typ: liczba całkowita