Last modified on 26 June 2014, at 01:31

Manual:$wgAjaxExportList


Other languages:
English • ‎español • ‎français • ‎日本語 • ‎polski • ‎português do Brasil
Ajax: $wgAjaxExportList
List of functions in AjaxFunctions.php that are callable via action=ajax
Introduced in version: 1.6.0 (r13364)
Removed in version: still in use
Allowed values: array of strings
Default value: array()
array( 'wfSajaxSearch' ) prior to 1.8.0.

Other settings: Alphabetical | By Function

DetailsEdit

Registry for functions callable via AJAX; This is a way for extensions (and some functions) to make functions callable from JavaScript (extensions acting as Ajax callbacks must register here).

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

See alsoEdit