Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 104

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 104

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 105

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 105

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 106

Notice: Trying to access array offset on value of type null in /var/www/vhosts/tangowiki/includes/profiler/SectionProfiler.php on line 106

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201
MediaWiki:Apihelp-main-param-origin - TangoWiki

MediaWiki:Apihelp-main-param-origin

From Tangowiki

When accessing the API using a cross-domain AJAX request (CORS), set this to the originating domain. This must be included in any pre-flight request, and therefore must be part of the request URI (not the POST body). This must match one of the origins in the Origin header exactly, so it has to be set to something like https://en.wikipedia.org or https://meta.wikimedia.org. If this parameter does not match the Origin header, a 403 response will be returned. If this parameter matches the Origin header and the origin is whitelisted, an Access-Control-Allow-Origin header will be set.