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.
Extension talk:GeoGebra
Appearance
This post was hidden by Ikeji Mo (history)
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.
- 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.
- 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.
- Changes from version 1.0p to 1.0q
Parameter "name" added.
- 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.
- 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.
"tested with 1.13" was an error. Sorry! I tested with 1.12.0
Thanks, IAlex, for correcting my "hook error".
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
This post was posted by He7d3r, but signed as 213.41.233.134.
Hi,
My MediaWiki version is 1.21.1 I'm (among others) the following extensions: https://www.mediawiki.org/wiki/Extension:GeoGebra version 2.9a and https://www.mediawiki.org/wiki/Extension:MathJax version 0.7
If I have in the same page, the extension MathJax and the extension Geogebra, occurs a problem like I have explained here:
Any help?
Thank you very much.
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.
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:
- 0 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/parser/StripState.php(58): StripState->addItem('nowiki', 'UNIQ394e8f8e45...', 'C')
- 1 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/extensions/MathJax/MathJax.php(360): StripState->addNoWiki('UNIQ394e8f8e45...', 'C')
- 2 [internal function]: MathJax_Parser::StripMath(Array)
- 3 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/extensions/MathJax/MathJax.php(291): preg_replace_callback('/((\\\())(.*?)(...', 'MathJax_Parser:...', '<span style="fo...')
- 4 [internal function]: MathJax_Parser::Stage2(Object(Parser), '<span style="fo...', Object(StripState))
- 5 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Hooks.php(255): call_user_func_array('MathJax_Parser:...', Array)
- 6 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/GlobalFunctions.php(3883): Hooks::run('InternalParseBe...', Array)
- 7 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/parser/Parser.php(1158): wfRunHooks('InternalParseBe...', Array)
- 8 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/parser/Parser.php(383): Parser->internalParse('<span style="fo...')
- 9 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/content/WikitextContent.php(299): Parser->parse('getParserOutput(Object(Title), 20677, Object(ParserOptions))
- 11 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
- 12 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Article.php(707): PoolCounterWork->execute()
- 13 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/actions/ViewAction.php(44): Article->view()
- 14 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Wiki.php(439): ViewAction->show()
- 15 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
- 16 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Wiki.php(565): MediaWiki->performRequest()
- 17 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/includes/Wiki.php(458): MediaWiki->main()
- 18 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/index.php(59): MediaWiki->run()
- 19 {main}
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.
Now I use a different version or method for MathJax and works. Thank's for the help.
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.
According to this topic on Wikitech mailing list, and Git/Conversion/status, MediaWiki core and WMF-deployed extensions were migrated to Git.
You may want to take a loot at Git/New repositories or try to contact someone on MediaWiki IRC channel.
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.
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?
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 ...
Ok. I added your code although I still have to learnread about recursiveTagParse().
There are no older topics