User talk:Bigvir

MIME-types
Hi,

for your GeoGebra-extension it is possible to keep $wgVerifyMimeType to true. For this you must only add the GeoGebra (*.ggb) MIME-type to the check list of MediaWiki.

1. You must add the following line to the define('MM_WELL_KNOWN_MIME_TYPES' in includes/MimeMagic.php:

application/vnd.geogebra.file ggb

2. Add the following line to the end of the file includes/mime.info

application/vnd.geogebra.file		[OFFICE]

Now MediaWiki knows the GeoGebra-MIME-code. --89.244.122.159 08:42, 22 September 2011 (UTC) - ChrissW-R1

Broken link
Hi!

I was trying to install the GeoGebra extension but the link to http://www.geogebra.org/webstart/unsigned/unpacked/ is broken. I got: Error 403. Denied access

How can I download that files? Thanks in advance... Helder 18:39, 6 March 2010 (UTC)


 * I have no problem with downloading e.g. geogebra.jar from http://www.geogebra.org/webstart/unsigned/unpacked/
 * Maybe trouble with protection software? At my school we have problems with dansguardian. See also personal mail.
 * Bigvir 19:58, 8 March 2010 (UTC)--

Avoiding errors in error log
From apache error log
 * [Thu Mar 11 20:18:45 2010] [error] [client 10.41.3.15] PHP Notice: Undefined index:  substimage in /var/www/html/cats/extensions/GeoGebra/GeoGebra.php on line 81, referer: ...
 * [Thu Mar 11 20:18:45 2010] [error] [client 10.41.3.15] PHP Notice: Undefined index:  usesignedjar in /var/www/html/cats/extensions/GeoGebra/GeoGebra.php on line 102, referer: ...
 * [Thu Mar 11 20:18:45 2010] [error] [client 10.41.3.15] PHP Notice: Undefined index:  uselocaljar in /var/www/html/cats/extensions/GeoGebra/GeoGebra.php on line 104, referer: ...

This can be avoided by replacing these three lines
 * $imgBinary = htmlspecialchars(strip_tags($args['substimage']));
 * $useSignedJar = $args['usesignedjar'];
 * $useLocalJar = $args['uselocaljar'];

with something like
 * $imgBinary = isset($args['substimage']) ? htmlspecialchars(strip_tags($args['substimage'])) : '' ;
 * $useSignedJar = isset($args['usesignedjar']) ? $args['usesignedjar'] : '' ;
 * $useLocalJar = isset($args['uselocaljar']) ? $args['uselocaljar'] : '' ;

--PrimeMogul 03:17, 12 March 2010 (UTC)