Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgAjaxSearch and the translation is 30% complete.

Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎русский • ‎日本語
Ajax: $wgAjaxSearch
Enable use of AJAX auto-suggestion for the search bar.
Introducido en la versión:1.8.0 (r15888)
Eliminado en la versión:1.14.0
Valores permitidos:(booleano)
Valor predeterminado:false


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.