Manual:$wgAjaxExportList

From MediaWiki.org

Jump to: navigation, search


Ajax: $wgAjaxExportList
List of functions in AjaxFunctions.php that are callable via action=ajax
Introduced in version: 1.6.0
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


[edit] Details

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.

[edit] See also

Personal tools