Extension:FormelApplet

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
FormelApplet

Release status:Extension status beta

ImplementationTemplate:Extension#type Tag
DescriptionTemplate:Extension#description Add FormelApplet to MediaWiki pages
Author(s)Template:Extension#username R. Großmann (Rudolf.Grossmanntalk)
Latest versionTemplate:Extension#version 1.3h
MediaWikiTemplate:Extension#mediawiki needs >= 1.17.0
tested with 1.19.2
LicenseTemplate:Extension#license No license specified
Download
Old Changelog (History)
ExampleTemplate:Extension#example Examples
ParametersTemplate:Extension#parameters

Parameters

Hooks usedTemplate:Extension#hook
ParserFirstCallInitManual:Hooks/ParserFirstCallInit

Translate the FormelApplet extension if it is available at translatewiki.net

Check usage and version matrix.

What can this extension do?[edit]

Add a FormelApplet to your MediaWiki page.

The status of this extension has changed from experimental to beta, because FormelApplet now is successfully in use by other wikis.

Download instructions[edit]

Go to the $IP/extensions directory and create a subdirectory named FormelApplet.

Download the two files found below (see Download) and place them inside $IP/extensions/FormelApplet.

Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

If you want to use the FormelApplet without connection to the internet (using XAMPP, for instance), see Parameters

Installation[edit]

Be sure to use a MediaWiki with version >= 1.17.0, because this extension uses wfMessage()

To install this extension, copy the downloaded files FormelApplet.php and FormelApplet.i18n.php to the directory $IP/extensions/FormelApplet/ of your wiki (e.g. using FTP).

Add the following to LocalSettings.php:

require_once("$IP/extensions/FormelApplet/FormelApplet.php");

If you are using an older version (<= 1.16.x) of MediaWiki, you will have to use an older version of this extension. Version 1.2a can be found at an older version of this page

Usage[edit]

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

<formelapplet width="600" height="300" solution="ZIP-504b0304140008...(many bytes)...010038000000840000000000" />

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

<formelapplet width="600" height="300" Fontsize="12" solution="ZIP-504b0304140008...(many bytes)...010038000000840000000000" />

You may create these tags by use of the FormelApplet Editor

Download[edit]

For security reasons, the source code of the FormelApplet Mediawiki extension is no longer stored inside this wiki page.

You can download the source code of FormelApplet.php and FormelApplet.i18n.php or use the MediaWiki ExtensionDistributor to download the source code as an archive (*.tar.gz).

Learn more about Gerrit.

See also[edit]