Hello Brenton, I did some testing and found out
the reason for the first
error: It needs to the file type identified in LocalSettings.php with
special configuration settings
You can find more info here:
Date: Wed, 4 Feb 2015 07:55:11 +1000
From: brentonhorne77(a)gmail.com
To: mediawiki-l(a)lists.wikimedia.org
Subject: [MediaWiki-l] Jmol errors
Hi,
I've installed the Jmol extension and I have noticed two major problems:
1. When uploading a pdb file at Special:Upload I receive the error:
> File extension ".pdb" does not match the detected MIME type of the
(text/plain).
Other chemical file extensions produce similar errors, including .sdf,
.cml, etc. Even though I have added:
$wgFileExtensions = array( 'doc',
'docx', 'xls', 'xlsx', 'mpp', 'pdf',
'ppt', 'tiff', 'bmp', 'pptx', 'ps',
'odt', 'ods', 'odp', 'odg'
, 'ogg', 'sdf', 'mol', 'pdb', 'xyz',
'mol2', 'svg', 'cml'
);
to LocalSettings.php
2. Whenever I add <jmolpdb></jmolpdb> to an article (any article, even
sandbox, i.e., User:Fuse809/sandbox),
<jmolPdb></jmolPdb> or other Jmol
tags <jmolFile></jmolFile> and click "Save page" I'm left at a
blank
with the URL of
http://localhost:8080/mediawiki/index.php?title=PAGENAME&action=submit
(where PAGENAME is the page's name).
Thanks for your time,
Brenton
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to: