Extension:GeoGebra

MediaWiki extensions manual
GeoGebra
Release status: stable
Implementation Tag
Description Allows to use GeoGebra applets on pages
Author(s)
  • Zbynek
Latest version 3.0.9 (2018-04-08)
MediaWiki 1.25+
Database changes No
License GNU General Public License 2.0 or later
Download
Example See the page Extension:GeoGebra/Examples
Quarterly downloads 1 (Ranked 130th)
Translate the GeoGebra extension if it is available at translatewiki.net

The GeoGebra extension allows to use GeoGebra applets on a 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.

The latest versions of GeoGebra provide applets using HTML5/JavaScript/CSS instead of Java. These applets can be used on mobile devices like Android tablets and iPads, even on a few smartphones (depending on CPU speed).

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

Usage

edit

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:

<ggb_applet height="300" width="600" ggbBase64="AbCd67Fg...KhRs" />

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

You can also pass GeoGebra applet parameters. See Parameters

Example:

<ggb_applet height="200" width="400" showMenuBar="true" showResetIcon="true" ggbBase64="AbCd67Fg...KhRs" />

Installation

edit
  • Download and move the extracted GeoGebra folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GeoGebra
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'GeoGebra' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Support of mobile devices

edit

If a mobile browser is detected, version 3.0 and later delivers HTML5/JavaScript instead of a Java applet. GeoGebra applets inside a wiki now can be used with Android tablets, iPads, and smartphones. (Maybe there is a speed problem with some smartphones).

GeoGebra applets using the syntax 'filename="xyz.ggb"' (obsolete) are delivered only as Java applets.

You can force the delivery of HTML5 by using the parameter ?mobile=true appended to the URL. Use &mobile=true if there is already a ? in the URL.

See also

edit
  • Examples of wikis using the GeoGebra Extension.
  • GeoGebra Help Page (German language) shows four different ways to embed a GeoGebra applet into a wiki page.