Last modified: 2013-07-31 07:44:35 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 T53593, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51593 - Correct the mime type for WOFF to application/font-woff
Correct the mime type for WOFF to application/font-woff
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Apache configuration (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-18 02:41 UTC by Krinkle
Modified: 2013-07-31 07:44 UTC (History)
9 users (show)

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


Attachments

Description Krinkle 2013-07-18 02:41:26 UTC
When viewing https://en.wikipedia.org/wiki/Wikipedia:Wikipedians I get the below content warnings in Chrome:


Resource interpreted as Font but transferred with MIME type application/x-font-woff: "https://bits.wikimedia.org/static-1.22wmf9/extensions/UniversalLanguageSelector/data/fontrepo/fonts/amiri/amiri-regular.woff?version=1.0.2&20120101". Wikipedia:Wikipedians:1
Resource interpreted as Font but transferred with MIME type application/x-font-woff: "https://bits.wikimedia.org/static-1.22wmf9/extensions/UniversalLanguageSele…or/data/fontrepo/fonts/SiyamRupali/SiyamRupali.woff?version=1.070&20120101". Wikipedia:Wikipedians:1
Resource interpreted as Font but transferred with MIME type application/x-font-woff: "https://bits.wikimedia.org/static-1.22wmf9/extensions/UniversalLanguageSelector/data/fontrepo/fonts/amiri/amiri-bold.woff?version=1.0.2&20120101". Wikipedia:Wikipedians:1
Resource interpreted as Font but transferred with MIME type application/x-font-woff: "https://bits.wikimedia.org/static-1.22wmf9/extensions/UniversalLanguageSele…ontrepo/fonts/LohitDevanagari/Lohit-Devanagari.woff?version=2.5.3&20120101". Wikipedia:Wikipedians:1
Resource interpreted as Font but transferred with MIME type application/x-font-woff: "https://bits.wikimedia.org/static-1.22wmf9/extensions/UniversalLanguageSelector/data/fontrepo/fonts/LohitOriya/Lohit-Oriya.woff?version=2.5.3&20120101". Wikipedia:Wikipedians:1
Resource interpreted as Font but transferred with MIME type application/x-font-woff: "https://bits.wikimedia.org/static-1.22wmf9/extensions/UniversalLanguageSele…r/data/fontrepo/fonts/LohitTelugu/Lohit-Telugu.woff?version=2.5.3&20120101". Wikipedia:Wikipedians:1


I wonder why these are all loaded (and in separate requests), but aside from that these warnings may be caused by something either in Chrome in in wmf's apache config or in ULS. Filing here for further investigation.
Comment 1 Santhosh Thottingal 2013-07-23 10:49:33 UTC
https://gerrit.wikimedia.org/r/#/c/657 set application/x-woff as mime type for WOFF. The correct value is application/font-woff as per http://www.w3.org/TR/WOFF/#appendix-b
Comment 2 Gerrit Notification Bot 2013-07-30 09:29:22 UTC
Change 76698 had a related patch set uploaded by Nikerabbit:
Use application/font-woff for woff files

https://gerrit.wikimedia.org/r/76698
Comment 3 Gerrit Notification Bot 2013-07-30 18:17:28 UTC
Change 76698 merged by Dzahn:
Use application/font-woff for woff files

https://gerrit.wikimedia.org/r/76698
Comment 4 Daniel Zahn 2013-07-30 20:35:42 UTC
that has been merged, deployed and Apaches have been gracefulled now. please confirm it's fixed.
Comment 5 Niklas Laxström 2013-07-31 07:44:35 UTC
Works for me, except that many fonts are cached in Varnish with old mime type. I expect them to pick the new mime type when the caches expire.

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


Navigation
Links