Extension:Math/Inputtypes

From MediaWiki.org
Jump to navigation Jump to search

If you run your private wiki you can allow that users can input formulae in different input formats. For this, you have to add $wgMathEnableExperimentalInputFormats = true; to your local config. Then you can use two additional input modes which can be enabled via one of the following type attributes:

pmml
Presentation MathML
ascii
ASCIIMath

For example asciimath (asciimath.org) input can be entered as

<math type="ascii">d/dxf(x)=lim_{h->0}(f(x+h)-f(x))/h</math>

and will produce a rendering like

These options are not available on this wiki or any other Wikimedia foundation wiki.