{ "error": "rest-cross-origin-anon-write", "httpCode": 403, "httpReason": "Forbidden" }
This is due to the AJAX control which is controlable via https://www.mediawiki.org/wiki/Manual:$wgCrossSiteAJAXdomains
However, this hardcodes https? and thus can never work for things like chrome extensions.