Manual:$wgAjaxExportList

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎العربية • ‎日本語
Ajax: $wgAjaxExportList
List of functions in AjaxFunctions.php that are callable via action=ajaxManual:Parameters to index.php
Introduced in version:1.6.0 (r13364)
Deprecated in version:1.27.0 (git #0aafc0bf)
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).

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

See also[edit]