I am the administrator of Jmol wiki, http://wiki.jmol.org
, and I am trying
to authorize the upload of files with extensions .pdb, .mol, ... (chemistry
It was working some time ago, but apparently it's not working any more.
I don't know when it stopped working (maybe when upgrading MediaWiki but not
sure at all).
Error message is "File is corrupt or the extension does not match the file
We are currently using MediaWiki 1.14.0 (but I could upgrade if required,
just needs some work to change the Jmol extension to work with 1.16)
Our current configuration is :
In LocalSettings.php :
$wgEnableUploads = true;
$wgFileExtensions = 'cml';
$wgFileExtensions = 'ico';
$wgFileExtensions = 'mol';
$wgFileExtensions = 'pdb';
$wgFileExtensions = 'xyz';
$wgTrustedMediaFormats = 'chemical/x-pdb';
$wgTrustedMediaFormats = 'chemical/x-xyz';
In includes/mime.types :
Can anyone help us to find what's going on ?