Jump to content

Extension talk:GeoGebra

About this board

Installing GeoGebra on Miraheze

2
2409:893D:4F2A:72:98EA:40EF:166D:B29 (talkcontribs)

Could you tell me how to install Geogebra on a Miraheze wiki server and upload Geogebra images on it? It seems that the server is far from my own computer.

Taavi (talkcontribs)

You should ask Miraheze.

Reply to "Installing GeoGebra on Miraheze"

Can't work with tube-beta.geogebra.org/scripts/deployggb.js

2
This post was hidden by Ikeji Mo (history)
Ikeji Mo (talkcontribs)

It seems that tube-beta.geogebra.org/scripts/deployggb.js no longer works with GeoGebra extension. I was able to solve the problem by changing GeoGebra.body.php to refer to www.geogebra.org/scripts/deployggb.js. Please check the problem if possible.

Reply to "Can't work with tube-beta.geogebra.org/scripts/deployggb.js"
He7d3r (talkcontribs)
Changes from version 1.0m to 1.0n

If GeoGebra extension does not find the geoGebra.jar file at www.geogebra.at/webstart, it looks for the file at the places where MediaWiki stores the media files (i.e. *.jpg). So if you have installed a MediaWiki at a local server (wamp, lamp, server2go,...) e.g. for testing purposes, you can use GeoGebra extension offline, that means, without connection to the web.

This post was posted by He7d3r, but signed as Bigvir.

He7d3r (talkcontribs)
Changes from version 1.0n to 1.0p

New parameter useLocalJar. For testing purposes, you can force the extension to use the geogebra.jar file locally installed (this means, geogebra.jar uploaded to your MediaWiki) instead of using the one from www.geogebra.at/webstart.

This post was posted by He7d3r, but signed as Bigvir.

He7d3r (talkcontribs)
Changes from version 1.0p to 1.0q

Parameter "name" added.

This post was posted by He7d3r, but signed as Bigvir.

He7d3r (talkcontribs)
Changes from version 1.0q to 1.0u

Add function function url_exists() to check, if acces to remote applet is possible.

url_exists() replaces the old code with fopen. The old code didn't work correctly at wikis with allow_url_fopen off.

allow_url_fopen is set in php.ini. Some internet service providers do not grant access to php.ini.

This post was posted by He7d3r, but signed as Bigvir.

He7d3r (talkcontribs)
Changes from version 1.0u to 2.0p

If geogebra.jar is not found at www.geogebra.at, or if using useLocalJar="true", GeoGebra extension looks for geogebra.jar at another place:

Version 1.0u looked for geogebra.jar in the file repository of the wiki. This caused problems, when geogebra.jar changed to be only a starter for other geogebra*.jar files, e.g. geogebra_main.jar, geogebra_gui.jar etc.

Version 2.0p now looks for geogebra.jar in the /extension/GeoGebra subdirectory of the wiki. So you have to upload all geogebra*.jar files using FTP.

A minor change was necessary, because $_SERVER['DOCUMENT_ROOT'] did not work correctly.

This post was posted by He7d3r, but signed as Bigvir.

Reply to "Changelog"
He7d3r (talkcontribs)
Reply to "Compatibility"
He7d3r (talkcontribs)

Thanks, IAlex, for correcting my "hook error".

This post was posted by He7d3r, but signed as Bigvir.

Reply to "Hook error"

Error: File does not exist

1
He7d3r (talkcontribs)

Hi, for unknown reasons, the applet loads one time over two tryes , I suppose it is a cache related problem regarding the log :

10:01:24 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/b/n.class
[Tue Jun 07 10:01:26 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/af.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/z.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/z.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/f.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/F.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/v.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/D.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/i.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/o.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/b.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/s.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/g.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/cD.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/m.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/b/C.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/k.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/u.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/ak.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/bD.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/bW.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/kernel/algo2command.properties
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/c.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/e/c.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/dA.class
[Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/aJ.class

mailto:sancelot@free.fr

This post was posted by He7d3r, but signed as 213.41.233.134.

Reply to "Error: File does not exist"

MathJax and Geogebra in the same page

5
Webmastercasadasciencias (talkcontribs)
Rudolf.Grossmann (talkcontribs)

Please can you give me an URL of a Wiki page where the error occurs. Just to tell me "a problem occurs" is not enough to start investigations.

Webmastercasadasciencias (talkcontribs)

http://wikiciencias.casadasciencias.org/wiki/index.php/Per%C3%ADmetro_de_uma_circunfer%C3%AAncia

If I add #$wgShowExceptionDetails = true; in LocalSettings.php, I get this: Thanks

Invalid marker: UNIQ394e8f8e45bbe3f0-MathJax-27-QINU Backtrace:

  1. 0 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/parser/StripState.php(58): StripState->addItem('nowiki', 'UNIQ394e8f8e45...', 'C')
  2. 1 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/extensions/MathJax/MathJax.php(360): StripState->addNoWiki('UNIQ394e8f8e45...', 'C')
  3. 2 [internal function]: MathJax_Parser::StripMath(Array)
  4. 3 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/extensions/MathJax/MathJax.php(291): preg_replace_callback('/((\\\())(.*?)(...', 'MathJax_Parser:...', '<span style="fo...')
  5. 4 [internal function]: MathJax_Parser::Stage2(Object(Parser), '<span style="fo...', Object(StripState))
  6. 5 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Hooks.php(255): call_user_func_array('MathJax_Parser:...', Array)
  7. 6 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/GlobalFunctions.php(3883): Hooks::run('InternalParseBe...', Array)
  8. 7 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/parser/Parser.php(1158): wfRunHooks('InternalParseBe...', Array)
  9. 8 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/parser/Parser.php(383): Parser->internalParse('<span style="fo...')
  10. 9 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/content/WikitextContent.php(299): Parser->parse('getParserOutput(Object(Title), 20677, Object(ParserOptions))
  11. 11 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
  12. 12 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Article.php(707): PoolCounterWork->execute()
  13. 13 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/actions/ViewAction.php(44): Article->view()
  14. 14 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Wiki.php(439): ViewAction->show()
  15. 15 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
  16. 16 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Wiki.php(565): MediaWiki->performRequest()
  17. 17 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Wiki.php(458): MediaWiki->main()
  18. 18 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/index.php(59): MediaWiki->run()
  19. 19 {main}
Rudolf.Grossmann (talkcontribs)

Sorry for late response...

Looking at wikiciencias.casadasciencias.org I see no errors.

If the error is still there: Maybe I use another browser and/or operating system so please tell the information what this page shows to you: http://www.mybrowserinfo.com/detail.asp

If the error disappeared: Maybe you found a solution to the problem (e.g. change in configuration using LocalSettings.php). So please tell the world here how you solved the problem.

Webmastercasadasciencias (talkcontribs)

Now I use a different version or method for MathJax and works. Thank's for the help.

Reply to "MathJax and Geogebra in the same page"

Moving to code repository

4
Rudolf.Grossmann (talkcontribs)

To get rid of the warning box "This extension stores its code inside a wiki page. Please be aware..." I will try to move the code to the MediaWiki code repository. To avoid doubling work, I will wait until this repository has moved from SVN to GIT.

He7d3r (talkcontribs)
Rudolf.Grossmann (talkcontribs)

I already had a look at Git/New repositories. Today I chatted on IRC channel. Your link to IRC Help page was very helpful, but I read it after connecting to IRC. Now I know to use /quit for quitting ;-) (I hope it was not too impolite just to leave the IRC by exiting the browser.) ^demon told me to read his mail about moving to GIT on wikitech-l, so I subscribed to the list. But I cannot find any postings of ^demon. Maybe he uses another nickname on wikitech-l? I also posted my username and email address at IRC #mediawiki. This should be enough to send me access data. Please give me a hint what I should try next.

He7d3r (talkcontribs)

User:^demon is Chad (I didn't know that either - until now) and you'll find some emails from him in the archives. Maybe he was referring to the same thread I suggested above?

Reply to "Moving to code repository"

Extend for usage in templates

2
Joejoebob (talkcontribs)

In case anyone is trying to use this as part of a template, you just have to add

// recursive parse in case we are inside a template
if($wgVersion >='1.16') {
	foreach($args as &$arg) {
		$arg = $parser->recursiveTagParse( $arg, $frame );
	}
}

just above

...
// retrieve URL of image file substituting GeoGebra applet if Java ist not installed
...
Rudolf.Grossmann (talkcontribs)

Ok. I added your code although I still have to learnread about recursiveTagParse().

Reply to "Extend for usage in templates"
There are no older topics