Manual:$wgAjaxSearch

From MediaWiki.org

Jump to: navigation, search


Site customization: $wgAjaxSearch
Enable use of AJAX auto-suggestion for the search bar.
Introduced in version: 1.8.0
Removed in version: still in use
Allowed Values: boolean
Default Value: false

Other settings: Alphabetical | By Function


[edit] 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.

Personal tools