Jump to content

扩展:GeoGebra

From mediawiki.org
This page is a translated version of the page Extension:GeoGebra and the translation is 12% complete.
MediaWiki扩展手册
GeoGebra
发行状态: 稳定版
实现 标签
描述 Allows to use GeoGebra applets on pages
作者
  • Zbynek
最新版本 3.0.9 (2018-04-08)
MediaWiki 1.25+
数据库更改
许可协议 GNU通用公眾授權條款2.0或更新版本
下載
示例 参见页面Extension:GeoGebra/Examples
季度下載量 2 (Ranked 135th)
前往translatewiki.net翻譯GeoGebra扩展

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 (社群)

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

  • 下载文件,并将解压后的GeoGebra文件夹移动到extensions/目录中。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GeoGebra
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'GeoGebra' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

Support of mobile devices

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

  • 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.