Hello, and a thousand apologies if I'm in the wrong place to ask about this.
I'm making a web-based tool that makes a web request to a CSV file at
https://wikistats.wmflabs.org — however, because that webserver hasn't
enabled CORS (cross-origin resource sharing), most browsers can't
fetch the file.
To see this, open your browser to any non-WMFlabs.org URL (like
Firefox for example will tell you, "Cross-Origin Request Blocked: The
Same Origin Policy disallows reading the remote resource at
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
TypeError: NetworkError when attempting to fetch resource."
Assuming Wikistats, the Cloud team, and the Wikimedia Foundation *do*
domain, the standard way to fix this is to add the
"Access-Control-Allow-Origin: *" header to all responses sent by the
webserver. More detail is available at https://enable-cors.org/
I dug around for a while looking for a way to reach someone who might
be in charge of the https://wikistats.wmflabs.org webserver, and if
I'm in the wrong place, please accept my apologies.
Many thanks for your hard work,