(bug 19907) Adds support for cross-domain AJAX requests to the API.
authorAlex Z <mrzman@users.mediawiki.org>
Fri, 31 Jul 2009 21:56:34 +0000 (21:56 +0000)
committerAlex Z <mrzman@users.mediawiki.org>
Fri, 31 Jul 2009 21:56:34 +0000 (21:56 +0000)
commitb54addda93b32e314f059f63f07c6b276ff53fa1
tree57bc22aa0d0ed7a9f23eb6eeeff328fda02fc39c
parentfc359e16f132aacbf0da3290518cb5a27b022c52
(bug 19907) Adds support for cross-domain AJAX requests to the API.
Uses the Access-Control-Allow-Origin header for browsers that support it.
<http://dev.w3.org/2006/waf/access-control/>
$wgCrossSiteAJAXdomains can be set to '*' to allow requests from any domain,
an array of domains to allow, or, if $wgCrossSiteAJAXdomainsRegex is true,
an array of regexes to match against the request origin
RELEASE-NOTES
api.php
includes/DefaultSettings.php