Jump to content

手册:$wgOpenSearchTemplate

From mediawiki.org
This page is a translated version of the page Manual:$wgOpenSearchTemplate and the translation is 50% complete.
搜索: $wgOpenSearchTemplate
Template for OpenSearch suggestions.
引进版本:1.13.0 (r33400)
弃用版本:1.25.0 (Gerrit change 171573; git #28e37f55)
移除版本:1.42.0 (Gerrit change 1002595; git #ef7497d8)
允许的值:(字符串)或false
默认值:false

This setting is deprecated. Use $wgOpenSearchTemplates instead!

细节

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.

占位符: {searchTerms}