Page MenuHomePhabricator

Uploading new images sets mime type to text/plain and dimensions to 0x0
Closed, DeclinedPublic

Description

Author: ed

Description:
After installing mediawiki in house several weeks ago, I noticed this afternoon
that thumbnails were not working. This is on a Linux box running FC5. I
installed ImageMagik and the dependencies needed to install ImageMagik. After
doing so, uploading images now sets the mime type to text/plain and the
dimensions to 0x0. Thus the link to the image does not work correctly. After
this occurence, I updated my LocalSettings.php to not use ImageMagik and removed
the rpm's that I had installed, the problem persists after these last steps.


Version: 1.7.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz7261

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:24 PM
bzimport set Reference to bz7261.
bzimport added a subscriber: Unknown Object (MLST).

dsklyar wrote:

Have the same issue, MediaWiki: 1.7.1 PHP: 5.1.2 (apache2handler) MySQL: 5.0.22-log, some (not all!) gif
files are recognized as text plain (Icon_lock1_blue.gif‎ (1KB, MIME type: text/plain) ) so the image link
shows the file name.

Is this an issue in 1.13? Works for me.

Can't replicate in 1.16 trunk either, going ahead and closing WFM.