Extension:Eval


 * ''See also ParserFunctions.

The eval extension enables mathematical and logical operations in MediaWiki. This extension is available in WiKimia.

Installation

 * 1) Cut and paste Extension:Eval/eval.php into a text program, save the file as Eval.php
 * 2) Move the file into the extensions folder.
 * 3) Add the following line to the end of your file /LocalSettings.php:

Use
You must write the code to evaluate into the &lt;eval&gt; and &lt;/eval&gt; tags. So far only it supports the following functions, but extensions are anticipated.

NOTE: This parser does the operations beginning at the left. Here are a few examples:

Extensions
The following extensions are anticipated, if you want to collaborate, your aid will be welcome.
 * Negative scientific notation (#e-#);
 * Logical functions:
 * And (&)
 * Or inclusive (|)
 * Or exclusive
 * Negation (!)
 * At the moment, it process all the text as wiki. I will process only the text between the { and }
 * To see the code, go to Extension:Eval/eval.php.