User:WimW/math

introduction
I have used this math.php in MediaWiki 1.15 when it still was part of the mediaWiki system, included in the "included"-folder. In the next system I have set up (1.22), it had been - quite logically - been promoted to become a regular extension. At the same time, it had become quite impossible to use on Windows.

Note that there may be a good reason for this:

''The reason that MediaWiki normally renders math via an intermediate Ocaml script, is because TeX is not inherently safe. The intermediate texvc script removes all unsafe markup.'' Extension:TrustedMath

Since both my wiki-systems are not open for editing by unidentified contributors, I personally dare to accept that risk.

I therefore took the old math unit and wrapped it into the example tag extension. Source code below.

installation
require_once "$IP/extensions/math.php";
 * copy the math.php unit as below into your extensions directory
 * add the following line to LocalSettings.php:
 * add the following lines to LocalSettings.php and correct them according to your local installation paths:

Note that all my paths point to C:\xampp\ect. This is no longer a standard xampp-installation, but I have lost track what is and what isn't during my countless tries to get texvc to work.

source code
math.php