Extension:GeoGebra

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

GeoGebra applets use Java technology to combine an interactive geometry environment with the ability to directly enter equations and coordinates making it very useful in math education and math explorations.

Add a GeoGebra Applet tag to your MediaWiki page
With GeoGebra 3.2.33.0 or later you can export a GeoGebra file to a wiki very comfortably.

Use the new Export function of GeoGebra:

Use File - Export - Dynamic Worksheet as Webpage... Then go to "Advanced" and choose "Clipboard:MediaWiki" (bottom right).

Paste the clipoard to your wiki in edit mode. Done! This will create a tag like this:

You do not have to upload ggb files like in version 2.0p!

You can also pass other GeoGebra applet parameters. Example:

Usage of useLocalJar = true/false
By default,. That means, geogebra.jar is fetched from www.geogebra.at.

If geogebra.jar is not found at www.geogebra.at or if  is set explicitly, geogebra.jar will be searched in the same directory as GeoGebra.php.

Example:

Usage of useSignedJar = true/false

 * To be completed...

Why beta
New version 2.6m is tested with two wikis yet. It will become "stable" if tested with some more wikis!

Old stable version 2.0p was installed at five wikis at least!

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.

Upload the following files of your GeoGebra installation (maybe in \programs\GeoGebra) to.
 * geogebra.jar
 * geogebra_cas.jar
 * geogebra_export.jar
 * geogebra_gui.jar
 * geogebra_main.jar
 * geogebra_properties.jar
 * lax.jar
 * license.txt
 * gpl-2.0.txt
 * cc-by-nc-nd-3.0.txt

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

Use of unsigned JAR files
Digitally signed JAR files were used by GeoGebra to allow an applet to "turn into an application" and write to the local hard disc. But some users were frightened by the security alerts caused by the digital signature. In addition, a digital signature uses to expire, causing the security alerts to look even more frightening. Markus Hohenwarter and his team decided to deliver new, unsigned JAR files. Now the applets cause no security alerts, but cannot save a GeoGebra (ggb) file. If you want to create and save a ggb file, you have to use GeoGebra as an application.

New parameter ggbBase64 replaces filename
Use of filename="foo.ggb" is easy, if the JAR fileand the GGB fileare in the same subdirectory. But things become more complicated, if the GGB file is for example in a file repository of a wiki. The mechanism of retrieving the path to the GGB file sometimes sucked. (Very hard to debug, if the wiki is not your own and you have no admin rights to install new versions of the extension.)

Using the new parameter ggbBase64, you cam pass the content of a GGB file as a base64-encoded String. No filename is needed. No upload is needed.

Changes from 1.0u to 2.0p
See Version 2.0p