I just upgraded from 1.10.1 to 1.11.0, and I can no longer see new png files.
Old pngs work fine, but new ones now get a link instead of the actual image. ie:
[[Image:test.jpg]] shows the test.jpg on the page (as expected), but [[Image:test.png]] puts "Image:Test.png" as a link to the images special page.
The image doesn't show up on /mediawiki/index.php/Image:Test.png either, but I can view it, or download it from there.
Did I miss something during the upgrade? Are PNGs different now. Everything else appears to function correctly.
Thanks
=Don=
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.
On Jan 17, 2008, at 3:05 PM, Don Krause wrote:
I just upgraded from 1.10.1 to 1.11.0, and I can no longer see new png files.
Old pngs work fine, but new ones now get a link instead of the actual image. ie:
[[Image:test.jpg]] shows the test.jpg on the page (as expected), but [[Image:test.png]] puts "Image:Test.png" as a link to the images special page.
The image doesn't show up on /mediawiki/index.php/Image:Test.png either, but I can view it, or download it from there.
Did I miss something during the upgrade? Are PNGs different now. Everything else appears to function correctly.
Thanks
=Don=
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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.
mediawiki-l@lists.wikimedia.org