Manual:$wgOpenSearchTemplate
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.42.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgOpenSearchTemplates['application/x-suggestions+json']</tvar> for an alternative way to use this feature.</translate> |
<translate> Search</translate>: $wgOpenSearchTemplate | |
---|---|
Template for OpenSearch suggestions. |
|
<translate> Introduced in version:</translate> | 1.13.0 (r33400) |
<translate> Deprecated in version:</translate> | 1.25.0 (Gerrit change 171573; git #28e37f55) |
<translate> Removed in version:</translate> | 1.42.0 (Gerrit change 1002595; git #ef7497d8) |
<translate> Allowed values:</translate> | (string) or false |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
This setting is deprecated. Use $wgOpenSearchTemplates instead!
Details
Template for OpenSearch suggestions, defaults to API action=opensearch.
Sites with heavy load would typically have these point to a custom PHP wrapper to avoid firing up MediaWiki for every keystroke.
Placeholders:
{searchTerms}