I was directed here from Miraheze to file a task.
I am unable to upload .woff or .woff2 files to our Miraheze wiki. All other file types, including .ttf, are fine.
Thank you for any help.
Sillyvizion | |
Jan 3 2024, 2:07 PM |
F41649633: image.png | |
Jan 3 2024, 2:07 PM |
F41649631: image.png | |
Jan 3 2024, 2:07 PM |
I was directed here from Miraheze to file a task.
I am unable to upload .woff or .woff2 files to our Miraheze wiki. All other file types, including .ttf, are fine.
Thank you for any help.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
mime: Add support for 'font/woff' and 'font/woff2' mime type | mediawiki/core | REL1_40 | +32 -0 |
Thanks for correcting the tagging @Aklapper.
I suspect this is the usual issue we've had and the MIME map needs updating.
Seems that was fixed as part of T309714: Unable to upload TTF due to deprecated mime type with b8a3f02403384220ef5cb58b1694a64a88f33ad2, that is part of REL1_41
Change 987739 had a related patch set uploaded (by RhinosF1; author: Richika Rana):
[mediawiki/core@REL1_40] mime: Add support for 'font/woff' and 'font/woff2' mime type
Thanks for pointing the patch. I've put a backport for 1.40 up so this can be fixed for earlier versions.
Change 987739 merged by jenkins-bot:
[mediawiki/core@REL1_40] mime: Add support for 'font/woff' and 'font/woff2' mime type
This has now been fixed in Wikimedia's codebase. I am closing this task as there is nothing further that should be tracked on Wikimedia Phabricator.
I have asked the Miraheze SRE team to pull the change into our repository but in a worse case this will land in the next MediaWiki security & maintenance update.