Manual:$wgAjaxExportList/es
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.38.0</tvar>.</translate> |
<translate> Ajax</translate>: $wgAjaxExportList | |
---|---|
List of functions in AjaxFunctions.php that are callable via action=ajax |
|
<translate> Introduced in version:</translate> | 1.6.0 (r13364) |
<translate> Deprecated in version:</translate> | 1.27.0 (Gerrit change 262460; git #0aafc0bf) |
<translate> Removed in version:</translate> | 1.38.0 (Gerrit change 741941; git #9bcd3fdf) |
<translate> Allowed values:</translate> | (array of strings) |
<translate> Default value:</translate> | [] (1.8+)[ 'wfSajaxSearch' ] (1.6-1.7) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Detalles
Registry for functions callable via Ajax. This is a way for extensions (and some functions) to make functions callable from JavaScript.
Making an Ajax request to index.php
with the action=ajax&rs=funcname&rsargs[0]=arg1&rsargs[1]=arg2&...
parameters will result in a funcname( "arg1", "arg2", ... )
call in PHP, as long as funcname is listed in $wgAjaxExportList
.
Such functions then usually return an AjaxResponse object.
$wgAjaxSearch y $wgAjaxWatch causan que wfSajaxSearch
y wfAjaxWatch
se añadan a este arreglo, respectivamente.
Véase también
Categories:
- MediaWiki configuration settings/es
- MediaWiki configuration settings introduced in version 1.6.0/es
- MediaWiki configuration settings deprecated in version 1.27.0/es
- MediaWiki configuration settings removed in version 1.38.0/es
- Pages with broken file links
- MediaWiki deprecated or obsolete features/es
- Ajax variables/es