Extension:FormelApplet/1.0n

What can this extension do?
Add a FormelApplet to your MediaWiki page.

This extension is marked as experimental, because FormelApplet is still improved.

Add a FormelApplet tag to your MediaWiki page
The following tag will add a FormelApplet to your MediaWiki page:

Use parameter 'term' to get a FormelApplet for output. Use parameter 'solution' to get an FormelApplet for input.

Examples
You may pass the term to be rendered directly as a parameter like this:

Alternatively you may put the content of the term parameter into a file "myFile.fas", upload the fas-file to your MediaWiki and pass the filename to the applet using the term parameter like this:

Use parameter 'solution' to get an FormelApplet for input (passing solution using a *.fas-file).

You can also pass other FormelApplet parameters. Example (smaller font size):

How to create a term/solution parameter
see below

Download instructions
For sake of simplicity, this extension consists of only one file.

Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Allow uploads of fas-files
You will want to allow uploads of FormelApplet-files (*.fas) containing terms or solutions. This can be done by adding the following two lines to LocalSettings.php: Please tell me if you know how to swich off MimeType checking only for certain file extensions.

Learn more about upload of media files.