Last modified: 2012-09-07 18:09:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40720, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38720 - Math error showing in hebrew
Math error showing in hebrew
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-26 18:30 UTC by Platonides
Modified: 2012-09-07 18:09 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
math error (19.31 KB, image/png)
2012-07-26 18:30 UTC, Platonides
Details

Description Platonides 2012-07-26 18:30: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.
Comment 1 Platonides 2012-07-26 18:30:57 UTC
Sorry, "render as PNG" as your math preference.
Comment 2 Derk-Jan Hartman 2012-07-27 12:32:12 UTC
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
Comment 3 Platonides 2012-07-29 23:40:43 UTC
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
Comment 4 Derk-Jan Hartman 2012-09-07 13:21:11 UTC
Do we usually add these inline errors in content language then ?
Comment 5 Platonides 2012-09-07 17:27:25 UTC
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.
Comment 6 Derk-Jan Hartman 2012-09-07 17:45:04 UTC
In content language it is

https://gerrit.wikimedia.org/r/23092
Comment 7 Platonides 2012-09-07 18:09:01 UTC
That should do :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links