Hi
For some reason that escapes me after installing the Jmol extension via
these instructions
(
https://www.mediawiki.org/wiki/Extension:Jmol#Installing_Jmol_extension) even
though Jmol appears in Special:Version whenever I add
<jmolPdb>3EIG</jmolPdb> or <jmolFile>(R)-nicotine.sdf</jmolFile>
(R)-nicotine.sdf does exist on my Wiki, btw, if you're wondering) to a
page and click "Publish" I'm left with a blank submit page (i.e., URL:
.../pagename?action=submit).
Second, I'm stumped as to how I could add cif file uploads to my Wiki.
I've seen this code on the same MediaWiki article I linked:
$wgXMLMimeTypes = array_merge( $wgXMLMimeTypes, array(
'http://www.xml-cml.org/schema:cml' =>
'chemical/x-cml',
'http://www.xml-cml.org/schema:molecule' =>
'chemical/x-cml',
'http://www.xml-cml.org/schema/cml2/core:list' =>
'chemical/x-cml',
'http://www.xml-cml.org/schema/cml2/core:molecule' =>
'chemical/x-cml' ) );
But I don't know how to do something similar for Crystallographic
Information File (CIF) files.
Thanks for your time,
Brenton