Extension:GeoGebra

(Redirected from Extension:GeoGebra/2.0p)
Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎polski • ‎português • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
GeoGebra
Release status: stable
Implementation Tag
Description Allows to use GeoGebra applets on pages
Author(s)
  • Zbynek
  • Rudolf Großmann
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
Translate the GeoGebra extension if it is available at translatewiki.net
Check usage and version matrix.

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)

UsageEdit

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" />

InstallationEdit

  • Download and place the file(s) in a directory called GeoGebra in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'GeoGebra' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.31 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.31 and earlier), instead of wfLoadExtension( 'GeoGebra' );, you need to use:

require_once "$IP/extensions/GeoGebra/GeoGebra.php";

Support of mobile devicesEdit

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 alsoEdit