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:

List of parameters

 * Obligatory parameters: width, height, filename.
 * Optional parameters: anglemodulo, axes, axes.show, backgroundimage, cinderella.antialias, console, controls, darkenDependent, deltafactor, doublebuffer, euclideanport.scale, exercise, imagealpha, imagescalemode, KernelID, mesh, mesh.density, mesh.rectangular, mesh.triangular, originx, originy, polar, precision.angle, precision.angle.int, precision.measure, precision.measure.int, pref0, pref1, pref2, printscale, printscale.int, scale, show.adjacencymatrix, snap, viewport.
 * Please inform me (R. Grossmann), if you know more Cinderella parameters. Maybe there is a list in the 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.

Implementation
To implement the Cindy extension inside your MediaWiki, add the following line to LocalSettings.php: The wiki page Special:Version will show you all implemented extensions with a version message.

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 MediaWiki.

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