Open main menu
This page is a translated version of the page Extension:GeoGebra and the translation is 8% complete.

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎polski • ‎português • ‎中文 • ‎日本語
MediaWiki扩展手册
OOjs UI icon advanced.svg
GeoGebra
发布状态: 稳定版
实现 Tag
描述 Allows to use GeoGebra applets on pages
作者 Zbynek, Rudolf Großmann (Rudolf.Grossmanntalk)
最新版本 3.0.8
MediaWiki needs >= 1.17.0
tested with 1.19.2 and 1.19.7
数据更新
许可协议 GPLv2+
下载
旧更改日志(历史)
例子 参见页面Extension:GeoGebra/Examples
翻译GeoGebra扩展如果在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 (社群)

Contents

Usage

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 (MediaWiki Version >= 1.17.x)

  • 下载文件,并将其放置在您extensions/文件夹中的GeoGebra目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    require_once "$IP/extensions/GeoGebra/GeoGebra.php";
    
  •   完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

Installation (MediaWiki Version <= 1.16.x)

  注意: 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 is the latest version of this extension which does not need MediaWiki 1.17.x or younger. It can be found here: Older version of this page

Support of mobile devices since version 3.0d-web

if a mobile browser is detected, version 3.0d-web 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.

New version 3.0.2 installed at wikis.zum.de and wiki.geogebra.org

Version 3.0.5 is installed at wikis.zum.de/zum (German language) and about 60 other wikis related to ZUM. Version 3.0.2 was installed since June, 2014, and slightly modified at wikis.zum.de and wiki.geogebra.org.

Support of mobile devices now can be testet at wikis.zum.de/zum.

Version 3.0.2 supports only output of HTML5/JavaScript. Java support is discarded. Version 3.0.2 will be published here after testing.

Changes of status

  • 2011-03-05: After testing version 2.7 with with many wikis, without critical errors, status of version 2.7i was changed to stable.
  • 2012-08-09: Syntax changes with MediaWiki 1.17.x made changes of the extension necessary. Status was changed back to beta.
  • 2013-12-01: Version 3.0d-web was installed at many other wikis.
  • 2014-02-09: No errors about 3.0d-web were reported. Status was changed back to stable.

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:

$ggbFile = Image::newFromName($ggbBinary);

Fixed with version 2.8a.

See also