https://bugzilla.wikimedia.org/show_bug.cgi?id=63808
Bug ID: 63808
Summary: Allow cross-site domain access from (tools) Labs via
CORS
Product: Wikimedia
Version: wmf-deployment
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Site requests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Labs, or at least Tools Labs, should be added to the CORS list. That would
allow, amongst other things, for the retrieval of cached Wikidata objects, like
this:
https://wikidata.org/entity/Q12345.json
(which redirects to
https://www.wikidata.org/wiki/Special:EntityData/Q12345.json )
Right now, any JavaScript on Labs needs to query the API via JSONP, which means
Apache hit, PHP running, DB or object store access etc.
This would reduce the load on the servers, and speed up the access to Wikidata
objects (unless done in huge numbers).
I would prefer CORS to be enabled for all of the Wikimediaverse, not just the
Wikidata URL(s), for a few other tools.
According to bug #60835 Labs should be added to $wgCrossSiteAJAXdomains,
apparently.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l