MediaWiki uses a subset of TeX markup, including some extensions from LaTeX and AMS-LaTeX, for mathematical formulae. It generates either PNG images or simple HTML markup, depending on user preferences and the complexity of the expression.
More precisely, MediaWiki filters the markup through Texvc, which in turn passes the commands to TeX for t...