Manual:$wgAjaxSearch/tr
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.14.0</tvar>.</translate> |
<translate> Ajax</translate>: $wgAjaxSearch | |
---|---|
Enable use of AJAX auto-suggestion for the search bar. |
|
<translate> Introduced in version:</translate> | 1.8.0 (r15888) |
<translate> Removed in version:</translate> | 1.14.0 |
<translate> Allowed values:</translate> | (boole) |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
When true, this enables auto-suggestion for the search bar, using asynchronous javascript XML requests.
This also requires $wgUseAjax
to be true.
Setting $wgAjaxSearch = true;
causes wfSajaxSearch to be added to $wgAjaxExportList
mediawiki/skins/common/ajaxsearch.js
is used to deliver the content.
The script defines where on the page, and when the ajax search results will be delivered.
This setting has been removed in favor of $wgEnableMWSuggest
, introduced in 1.13.0.