API:Opensearch/ja

パラメーター

 * – the search string
 * – maximum amount of results to return (defaults to 10; maximum 15)
 * – namespace numbers to search (delimited by, defaults to 0)
 * – do nothing if is false
 * – see below

エラー コード

 * readapidenied – You need read permission to use this module.

大文字小文字の区別についての注記
Page name searches are case-sensitive. If $wgCapitalLinks is true (this is the default), the first letter is case-insensitive. If the TitleKey extension is enabled, page name searches are entirely case-insensitive.

例
The opensearch API module handles formats differently. Only XML and JSON (and their formatted versions) are recognized, every other valid format parameter results in JSON. The JSON format returns an array containing the search query and an array of result titles:

Furthermore, the XML format returns an OpenSearch XML file with titles, URLs and short descriptions when OpenSearchXml extension is loaded:

関連項目

 * API:Search/ja
 * Extension:OpenSearchXml/ja provides search plugin autodetection for browsers