[01:58:26] 6Multimedia, 6Commons, 10MediaWiki-File-management: SVGs from upload.wikimedia.org served as content-type text/html - https://phabricator.wikimedia.org/T131012#2153538 (10matmarex) I can reproduce: ``` $ curl -I https://upload.wikimedia.org/wikipedia/commons/c/c9/Ballot-sprite.svg HTTP/1.1 200 OK Date: Sun,... [02:01:12] 6Multimedia, 6Commons, 10MediaWiki-File-management: SVGs from upload.wikimedia.org served as content-type text/html - https://phabricator.wikimedia.org/T131012#2153604 (10matmarex) Your SVG image doesn't have an XML prolog (something like ``), such SVGs h... [08:19:14] 6Multimedia, 6Commons, 6Community-Advocacy, 6Editing-Department, and 2 others: Commons and testwiki used as video hoster by Wikipedia Zero - https://phabricator.wikimedia.org/T129845#2117844 (10Pokefan95) Please make an abuse filter for test2wiki too before they know that we have another testwiki too... [11:30:51] 6Multimedia, 6Commons, 10MediaWiki-File-management: SVGs from upload.wikimedia.org served as content-type text/html - https://phabricator.wikimedia.org/T131012#2153738 (10Rillke) >>! In T131012#2153604, @matmarex wrote: > Perhaps something is mis-detecting the MIME type. Try adding it and see if that fixes i... [12:37:14] 6Multimedia, 6Commons, 10MediaWiki-File-management: File disappeared while attemting to move another file over it. - https://phabricator.wikimedia.org/T131020#2153796 (10Ankry) [13:02:56] 6Multimedia, 6Commons, 10MediaWiki-File-management: File disappeared while attempting to move another file over it. - https://phabricator.wikimedia.org/T131020#2153816 (10Pokefan95) [13:24:14] 6Multimedia, 6Commons, 10MediaWiki-File-management: SVGs from upload.wikimedia.org served as content-type text/html - https://phabricator.wikimedia.org/T131012#2153822 (10matmarex) >>! In T131012#2153738, @Rillke wrote: > Interesting. Thanks, this did it. Is this still considered an issue with the MIME type... [13:26:45] 6Multimedia, 6Commons, 10MediaWiki-File-management: SVGs without XML prolog () served with Content-Type text/html from upload.wikimedia.org - https://phabricator.wikimedia.org/T131012#2153823 (10matmarex) [16:38:48] 6Multimedia, 10MediaWiki-File-management: SVGs without XML prolog () served with Content-Type text/html from upload.wikimedia.org - https://phabricator.wikimedia.org/T131012#2153946 (10faidon) Swift just serves whatever Content-Type it was set to the object when it was uploaded to it by MediaWiki —... [21:58:00] 6Multimedia, 10MediaWiki-File-management: SVGs without XML prolog () served with Content-Type text/html from upload.wikimedia.org - https://phabricator.wikimedia.org/T131012#2154137 (10matmarex) Ugh… apparently SwiftFileBackend does its own MIME type detection from scratch, instead of using the typ... [21:58:35] 6Multimedia, 10MediaWiki-File-management: SVGs without XML prolog () served with Content-Type text/html from upload.wikimedia.org - https://phabricator.wikimedia.org/T131012#2154138 (10matmarex) And the finfo_file() fallback is definitely subpar, the last issue described in T61234 was probably fixe... [22:44:48] 6Multimedia, 6Commons, 10MediaWiki-File-management, 10media-storage: File disappeared while attempting to move another file over it. - https://phabricator.wikimedia.org/T131020#2154149 (10matmarex) > And, if it is the latter case, how the file can be restored to a consistent state? [22:45:11] 6Multimedia, 6Commons, 10MediaWiki-File-management, 10media-storage: File disappeared while attempting to move another file over it. - https://phabricator.wikimedia.org/T131020#2154151 (10matmarex) > And, if it is the latter case, how the file can be restored to a consistent state? Somebody is going to ne... [23:03:06] 6Multimedia, 6Commons, 10MediaWiki-File-management, 10MediaWiki-Uploading, 6Zero: Prevent Wikipedia Zero exploitation of uploads to share copyrighted media - https://phabricator.wikimedia.org/T130761#2145671 (10Stefan2) > Could someone link to some example files? Perhaps there's commonalities that could...