Jump to content
MediaWiki

Manual:$wgOpenSearchTemplate

From mediawiki.org
This feature was removed from MediaWiki core in version 1.42.0. Please see $wgOpenSearchTemplates['application/x-suggestions+json'] for an alternative way to use this feature.
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
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}

AltStyle によって変換されたページ (->オリジナル) /