Manual:$wgEnableMWSuggest

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgEnableMWSuggest and the translation is 33% complete.

Other languages:
English • ‎日本語 • ‎polski • ‎русский
Search: $wgEnableMWSuggest
Enable suggestions while typing in search boxes.
導入されたバージョン: 1.13.0 (r33400)
除去されたバージョン: 1.20.0 (git #52c1739f)
可能な値: 真偽値
既定値: false
他の設定: アルファベット順 | 機能順

詳細[edit]

Enable Ajax autocomplete search suggestions (autosuggest) while typing in search boxes (results are passed around in OpenSearch format).

This setting replaces $wgAjaxSearchManual:$wgAjaxSearch that was used in earlier versions of MW.

If you want to turn off autosuggestions now (as the feature has been removed), use $wgEnableOpenSearchSuggestManual:$wgEnableOpenSearchSuggest.

代替[edit]

If you are using any version of MW 1.19 to 1.21 and also using Vector as you skin including the VectorExtension: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.

関連項目[edit]