Jump to content

Manual:$wgOpenSearchTemplate

From mediawiki.org
Search: $wgOpenSearchTemplate
Template for OpenSearch suggestions.
Introduced in version:1.13.0 (r33400)
Deprecated in version:1.25.0 (Gerrit change 171573; git #28e37f55)
Removed in version:1.42.0 (Gerrit change 1002595; git #ef7497d8)
Allowed values:(string) or false
Default value:false

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}