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

Reply via email to