Manual:$wgEnableMWSuggest/ru
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.20.0</tvar>.</translate> |
<translate> Search</translate>: $wgEnableMWSuggest | |
---|---|
Enable suggestions while typing in search boxes. |
|
<translate> Introduced in version:</translate> | 1.13.0 (r33400) |
<translate> Removed in version:</translate> | 1.20.0 (Gerrit change 25998; git #52c1739f) |
<translate> Allowed values:</translate> | (boolean) |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Enable Ajax autocomplete search suggestions (autosuggest) while typing in search boxes (results are passed around in OpenSearch format).
This setting replaces $wgAjaxSearch that was used in earlier versions of MW.
If you want to turn off autosuggestions now (as the feature has been removed), use $wgEnableOpenSearchSuggest .
Alternatives
If you are using any version of MW 1.19 to 1.21 and also using Vector as you skin including the Vector extension, you can get similar functionality by editing your LocalSettings.php and adding
$wgVectorUseSimpleSearch = true;
Starting with MW 1.22 this setting was moved to core and is enabled by default. Thus nothing needs to be done.
См. также
- Extension:TitleKey - allows for case-insensitive search suggestions
- Manual:$wgEnableOpenSearchSuggest
- Manual:$wgMWSuggestTemplate
- Manual:$wgOpenSearchTemplate
- Руководство:$wgVectorUseSimpleSearch