手册:$wgOpenSearchTemplate
Appearance
此功能已在版本1.42.0中,从MediaWiki核心代码中移除。 请参见$wgOpenSearchTemplates['application/x-suggestions+json']以获取使用此功能的替代方式。 |
搜索: $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}