Manual:$wgMathDisableTexFilter

Math: $wgMathDisableTexFilter
Disables the texvccheck before passing tex string to the server
Introduced in version:1.22.0
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Details edit

Option to disable the tex filter. If set to true any LaTeX expression is parsed this can be a potential security risk. If set to false only a subset of the tex commands is allowed. See w:Help:Displaying a formula for details.