Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎日本語 • ‎Nederlands • ‎polski • ‎русский
Ajax: $wgAjaxSearch
Enable use of AJAX auto-suggestion for the search bar.
Introduced in version: 1.8.0 (r15888)
Removed in version: 1.14.0
Allowed values: boolean
Default value: false
Other settings: Alphabetical | By function


When true, this enables auto-suggestion for the search bar, using asynchronous javascript XML requests.

This also requires $wgUseAjaxManual:$wgUseAjax to be true.

Setting $wgAjaxSearch = true; causes wfSajaxSearch to be added to $wgAjaxExportListManual:$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 $wgEnableMWSuggestManual:$wgEnableMWSuggest, introduced in 1.13.0.