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.

GeoGebra applets and worksheets are shared at: www.geogebratube.org (community)

Add a GeoGebra Applet to your MediaWiki page
You can export a GeoGebra file to a wiki very comfortably (since GeoGebra 3.2.33.0).

Use the export function of GeoGebra:

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

See the tutorial at wiki.geogebra.org: GeoGebra with MediaWiki

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

Upload of ggb files to the wiki is obsolete and not longer supported!

You can also pass GeoGebra applet parameters. See Parameters

Example:

Download
For security reasons, the source code of the GeoGebra Mediawiki extension is no longer stored inside this wiki page.

You can download the source code of  and  at Gerrit or use the MediaWiki ExtensionDistributor to download the source code as an archive (*.tar.gz).

Installation
Be sure to use a MediaWiki with version >= 1.17.0, because this extension uses wfMessage

To install this extension, copy the downloaded files GeoGebra.php and GeoGebra.i18n.php to the directory $IP/extensions/GeoGebra/ of your wiki (e.g. using FTP). Add the following to LocalSettings.php:

If you are using an older version (<= 1.16.x) of MediaWiki, you will have to use an older version of this extension. Version 2.7i can be found at an older version of this page

Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Wiki admins: Please install and test latest version 3.0d-web.
Version 2.7 was tested with more then 6 wikis. See Examples.

There were no reports of critical errors, only minor changes. See Changelog.

Status of Version 2.7i was changed from beta to stable at 2011-03-05.

Version 3.0d-web is not yet installed at other wikis. Carefully I changed status back to beta at 2012-08-09.

Incompatibility with MediaWiki 1.19 fixed
Zbynek Konecny from the GeoGebra team told me that this line did not work after updating to MediaWiki 1.19 (line 61):
 * $ggbFile =  Image::newFromName($ggbBinary);

He told me to replace the line by
 * $ggbFile =  wfLocalFile($ggbBinary);

as a workaround.

I will fix the bug when I have time enough to test the fixed version. But for testing I will need a MediaWiki 1.19 with admin rights - not so easy to achieve. I think I will use XAMPP, but this all is time consuming.

Fixed with version 2.8a. Tested at wiki.mathebuch-online.de

Version 3.0d-web was tested at geogebratest.grossmann.info