Manual:$wgAjaxExportList/zh

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgAjaxExportList and the translation is 43% complete.

Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎русский • ‎العربية • ‎中文 • ‎日本語
Ajax: $wgAjaxExportList
List of functions in AjaxFunctions.php that are callable via action=ajax
引进版本:1.6.0 (r13364)
弃用版本:1.27.0 (git #0aafc0bf)
移除版本:仍在使用
允许的值:(字符串数组)
默认值:[] (1.8-)
array( 'wfSajaxSearch' ) (1.6-1.7)

详情

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 .

参见