MediaWiki API hulp

Dit is een automatisch aangemaakte documentatiepagina over de API van MediaWiki.

Documentatie en voorbeelden: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

meta=WikiSearch

(main | query | WikiSearch)
  • Voor deze module zijn leesrechten nodig.
  • Bron: WikiSearch
  • Licentie: GPL-2.0-or-later

Perform advanced search queries against an ElasticSearch backend

Specifieke parameters:
Er zijn nog andere algemene parameters beschikbaar.
pageid

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

Deze parameter is vereist.
Type: geheel getal
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

Type: geheel getal
limit

The maximum number of search results to return

Type: geheel getal