Manual:$wgOpenSearchTemplate/zh
![]() | 此功能已在版本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}
Category:MediaWiki configuration settings/zh
Category:MediaWiki configuration settings deprecated in version 1.25.0/zh
Category:MediaWiki configuration settings introduced in version 1.13.0/zh
Category:MediaWiki configuration settings removed in version 1.42.0/zh
Category:MediaWiki deprecated or obsolete features/zh
Category:Search variables/zh