https://bugzilla.wikimedia.org/show_bug.cgi?id=20814
Roan Kattouw <roan.katt...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #15 from Roan Kattouw <roan.katt...@gmail.com> 2012-09-05 18:01:13 UTC --- (In reply to comment #14) > (In reply to comment #13) > > If this passes muster, we can enable CORS on the live site once these > > changes > > are deployed. > It seems these changes have now been deployed, so next Tuesday I'll take a > stab > at enabling CORS for Wikimedia domains. It slipped to Wednesday instead of Tuesday, but this is now done! CORS is now working for me; tested by pasting the following code snippet into the JS console on English Wikipedia: $.ajax( { 'url': 'https://www.mediawiki.org/w/api.php', 'data': { 'action': 'query', 'meta': 'userinfo', 'format': 'json', 'origin': 'https://en.wikipedia.org' }, 'xhrFields': { 'withCredentials': true }, 'success': function( data ) { alert( 'Foreign user ' + data.query.userinfo.name + ' (ID ' + data.query.userinfo.id + ')' ); }, 'dataType': 'json' } ); -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l