Extension:Cindy

What can this extension do?
Add a Cinderella applet to your MediaWiki page.

Cinderella applets use Java technology to give you an interactive geometry environment. Cinderella is a powerful mathematics simulation environment. It includes simple physics and a programming language called CindyScript, that can be used to create complex, and even interactive, mathematical constructions.

Allow uploads of cdy-files
You will have to allow uploads of Cinderella-files (*.cdy). This can be done by adding the following two lines to LocalSettings.php: Please tell me ( R. Grossmann) if you know how to swich off MimeType checking only for certain file extensions.

Learn more about upload of Media files.

Add a Cinderella applet tag to your MediaWiki page
The following tag will add a Cinderella applet to your MediaWiki page:

You can also pass other Cinderella applet parameters. Example:


 * To do: Add a list of supported parameters. (See code below.)
 * To do: Add more parameters to code. Please inform me, if you know a list of Cinderella parameters (documentation?).

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Upload of cindyrun.jar
You will need the file cindyrun.jar (runtime java archive for Cinderella applets). The Cindy extension will look for this file in the file repository of your wiki.

You will have to allow uploads of jar-files for some minutes. This can be done by adding the following line to LocalSettings.php: Then upload cindyrun.jar to your wiki. After successfull upload, you can delete this line in your LocalSettings.php