MediaWiki supports OpenSearch.
Documentation is available at mw:API:Opensearch.
Implementation tip
- Choose one:
- Implement directly the search using the XML output, to also get wiki pages descriptions (ie the first line of the article)
- Implement the search using the JSON output, and open a task to get description result in JSON on the upstream MediaWiki bug tracker
- Add on api.nasqueron.org a generic XML to JSON converter or a MediaWikiSearchAPI to do XML -> JSON conversion
- If there are some 403 or blank issues, see mw:API:Cross-site requests.