Last modified: 2012-09-07 18:09:01 UTC
Created attachment 10898 [details] math error Go to https://es.wikipedia.org/w/index.php?title=Usuario:Matanya/test&oldid=58272475 with "render as MathJax" as your math preference. It is showing me an error in hebrew (it doesn't like the \mbox), despite not having any preference set to that language.
Sorry, "render as PNG" as your math preference.
The error message in question is "Failed to parse (lexing error):" A combination of math-failure and math_lexing_error. Code: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Math.git;a=blob;f=Math.body.php
Tha usage of wfMsg() is completely wrong there https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Math.git;a=blob;f=Math.body.php#l233
Do we usually add these inline errors in content language then ?
It's not necessarily bad to show them in user language. But if you do it that way, then it needs to go through ParserOptions, so it's not improperly cached. Note that neither the content language or the user language was set to hebrew, yet the error was shown in that language.
In content language it is https://gerrit.wikimedia.org/r/23092
That should do :)