Oh and PS, error 2 also occurs on the hm.orain.org site you set up for me.
I just tested out adding <jmolPdb>3EIG</jmolPdb> to User:Fuse809/sandbox at
this site and the same error occurred.

On 4 February 2015 at 08:41, Brenton Horne <[email protected]> wrote:

> Yep, I've seen that page, but it didn't help me as I didn't how to extend
> this to sdf, mol, pdb, xyz, etc. formats. As it just shows how to get the
> mimes for cml to work
>
> On 4 February 2015 at 08:10, Arcane 21 <[email protected]> wrote:
>
>> 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:
>>
>> https://www.mediawiki.org/wiki/Extension:Jmol#Managing_molecular_files
>>
>> > Date: Wed, 4 Feb 2015 07:55:11 +1000
>> > From: [email protected]
>> > To: [email protected]
>> > 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
>> file
>> > > (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
>> my
>> > sandbox, i.e., User:Fuse809/sandbox), <jmolPdb></jmolPdb> or other Jmol
>> > tags <jmolFile></jmolFile> and click "Save page" I'm left at a blank
>> page
>> > 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:
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to