Manual:$wgOpenSearchTemplates
Appearance
Search: $wgOpenSearchTemplates | |
---|---|
Templates for OpenSearch suggestions. |
|
Introduced in version: | 1.25.0 (Gerrit change 171573; git #28e37f55) |
Removed in version: | Still in use |
Allowed values: | (array) |
Default value: | [
'application/x-suggestions+json' => false,
'application/x-suggestions+xml' => false,
];
|
Other settings: Alphabetical | By function |
Details
Templates 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}