Last modified: 2014-07-16 09:36:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69457, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67457 - Special:CX shows CORS when trying to load a template mapping file which does not exist
Special:CX shows CORS when trying to load a template mapping file which does ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ContentTranslation (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-03 07:35 UTC by Niklas Laxström
Modified: 2014-07-16 09:36 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2014-07-03 07:35:02 UTC
XMLHttpRequest cannot load http://bits.beta.wmflabs.org/static-master/extensions/ContentTranslation/modules/source/conf/fi-de.json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://en.wikipedia.beta.wmflabs.org' is therefore not allowed access.

Possible solutions:
1) Load via API like we usually do
2) Investigate whether adding CORS is possible and even wanted
Comment 1 Santhosh Thottingal 2014-07-03 08:05:51 UTC
That file fi-de.json does not exist. es-ca.json is good example. But, you are correct about loading from different domain.
Comment 3 Niklas Laxström 2014-07-16 09:36:58 UTC
Easy to confirm by using some other language. This error only happens if the file does not exist. Does not break anything, but spams the logs and is misleading. Changing the scope of the bug to reflect this.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links