Release status: beta
|Description||Add GeoGebra applet to MediaWiki pages|
|Author(s)||R. Großmann (Rudolf.Grossmanntalk)|
|MediaWiki||needs >= 1.17.0
tested with 1.19.2
|License||No license specified|
Old Changelog (History)
|Check usage and version matrix|
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 18.104.22.168).
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:
<ggb_applet height="300" width="600" ggbBase64="AbCd67Fg...KhRs" />
You do not have to upload ggb files to the wiki like in former times!
You can also pass GeoGebra applet parameters. See Parameters
<ggb_applet height="200" width="400" showMenuBar="true" showResetIcon="true" ggbBase64="AbCd67Fg...KhRs" />
For security reasons, the source code of the GeoGebra Mediawiki extension is no longer stored inside this wiki page.
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
Status changed back from stable to beta 
Wiki admins: Please install and test latest version 2.9a. 
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 2.9a 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
See also 
- Examples of wikis using the GeoGebra Extension.
- The GeoGebra extension is based on the Java Applet extension by Phil Trasatti.
- FormelApplet extension by R. Grossmann. The brother of GeoGebra extension.
- Cinderella extension. Use Cinderella applets in your wiki.
|Language:||English • Deutsch • português|