Extension:Math/Inputtypes

From MediaWiki.org
Jump to: navigation, search

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

pmml
Presentation MathML
ascii
ASCIIMath

For example asciimath input can be entered via

<math type="ascii">d/dxf(x)=lim_{h->0}(f(x+h)-f(x))/h</math> and looks like Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "/mathoid/local/v1/":): {\displaystyle d/dxf(x)=lim_{h->0}(f(x+h)-f(x))/h}