Manual:$wgAjaxExportList

$wgAjaxSearch and $wgAjaxWatch cause  and   to be added to this array, respectively. See also $wgUseAjax.