Extension:Jmol

Jmol extension is an extension for allowing inclusion of Jmol applets inside MediaWiki articles.

Current documentation can be found on the Jmol wiki.

Usage
The Jmol extension can be used in several ways:
 * directly in the media pages of molecular files, (not yet implemented)
 * as a "custom tag" to display a molecule in 3d in-line (or in a popup window) on a wiki page.

Note: This description is not complete

Installing Jmol extension
Note: The latest version of the Jmol extension has been tested against MediaWiki 1.16. It probably works also with some earlier versions but this has not been tested.

To install the Jmol extension:
 * Create a Jmol folder in the extensions folder of your MediaWiki installation.
 * Download the latest stable release of Jmol (or the latest development release).
 * Extract into the Jmol folder the following files from the Jmol release :
 * all the *.txt files,
 * the Jmol.js file,
 * all the JmolApplet0*.jar,
 * all the JmolAppletSigned0*.jar files.
 * Download all the source files of the Jmol extension and place them in the Jmol folder.
 * Add the following line to your LocalSettings.php file (near the end):

Note: This description needs to be completed, especially for managing file uploads.

Configuration
There are some options you can specify in your LocalSettings.php file (after the line you've already added): Note: This list is not complete.
 * wgJmolAuthorizeJmolTag: Authorize the use of the  </tt> tag. Default is true</tt>.
 * wgJmolAuthorizeJmolFileTag: Authorize the use of the  <jmolFile/> </tt> tag. Default is true</tt>.

Options in LocalSettings.php have no effect

 * Make sure you specify the options after including the extension.

Weblinks

 * Jmol official web site
 * Jmol official Wiki
 * Browse extension source code
 * Extension documentation in Jmol Wiki