[Mediawiki-l] Upgrade 1.10.1->1.11.0 new png images broke.

Platonides Platonides at gmail.com
Fri Jan 18 22:40:25 UTC 2008


Don Krause wrote:
> Interesting, on the media page, (/index.php/Image:Test.png) it lists  
> MIME Type text/plain.
> 
> That's probably bad....
> 
> On the working pngs (uploaded prior to the 1.11.0 upgrade) have image/ 
> png as a mime type.

Yes, if those were changed to image/png the wiki could thumbnail it (you 
can do that on the db). Now, the root problem is to fix the mime 
detection. I don't really know what changed on the detection code (there 
was a major change on backend), but probably using file(1) for mime 
detection solves it.




More information about the MediaWiki-l mailing list