Manual:$wgOpenSearchTemplate

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎日本語
Search: $wgOpenSearchTemplate
Template for OpenSearch suggestions.
Introduced in version:1.13.0 (r33400)
Deprecated in version:1.25.0 (git #28e37f55)
Removed in version:still in use
Allowed values:string or false
Default value:false
Other settings: Alphabetical | By function

This setting is deprecated. Use $wgOpenSearchTemplates instead!

Details[edit]

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}