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 (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


Details [edit]

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

Language: English  • français • 日本語