Last modified: 2010-05-15 15:48:23 UTC
PNG images are prevented from being uploaded. Other image formats work fine.
The error message is:
The file is corrupt or has an incorrect extension. Please check the file and
My $wgFileExtensions looks like:
$wgFileExtensions = array('jpg','png','jpeg','gif','ogg','doc','xls','ppt','mp3'
The problem seems to stem from the following line in the verify() function in
$mime comes back as "text/plain" which doesn't match the extension "png".
I should add that this is on Fedora Core 6.
Please read the FAQ before filing bug reports - see
The cause is mostly likely a misconfigured php module.