Last modified: 2010-10-15 01:39:09 UTC
When loading the payment forms on payments.wikimedia.org I get several MIME type errors in Firefox. For example: Error: The stylesheet https://payments.wikimedia.org/index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000 was not loaded because its MIME type, "text/html", is not "text/css". Since the file name is in the query string instead of in the main part of the URL, Apache doesn't know to serve it as text/css instead of text/html. To work around this problem on the cluster we specify the type in the link tag: <link rel="stylesheet" href="/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=2678400&action=raw&maxage=2678400" type="text/css" media="all" /> On payments, however, the type is not being specified: <link rel="stylesheet" href="/index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000" /> (This issue will be moot one the Recource Loader is deployed.)
Fixed by whitelisting the pages so they can actually load.