[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Antoine "hashar" Musso changed: What|Removed |Added Status|NEW |RESOLVED CC||has...@free.fr Resolution||FIXED --- Comment #23 from Antoine "hashar" Musso 2011-11-15 22:33:55 UTC --- The change was deployed on live site by Sam Reed some minutes ago. I have added some snippets from above comment on the enwiki page: https://en.wikipedia.org/wiki/User:Hashar/bug31442 There are still some wrong rendering but overall case that were not rendering do render now. I am considering this bug fixed now. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 crangasi2...@yahoo.com changed: What|Removed |Added CC||crangasi2...@yahoo.com --- Comment #22 from crangasi2...@yahoo.com 2011-11-10 08:43:05 UTC --- Can someone review r99741 and if it is OK, deploy it? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Mark A. Hershberger changed: What|Removed |Added Blocks|28425 | --- Comment #21 from Mark A. Hershberger 2011-10-28 14:41:51 UTC --- removing dep on tarball blockers for things that aren't in mw core. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #20 from Raimond Spekking 2011-10-28 05:55:23 UTC --- Isn't the r99741 the solution, is it? It needs deployment on the WMF cluster. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #19 from Nicholas Longo 2011-10-28 03:46:47 UTC --- By fix this do yo mean fix texvc or fix correct the wikicode? To fix the wikicode: Ensure all decorations \dot, \vec, \tilde, \hat, etc, and font chagnes (\mathcal ) place curly braces {} around their arguments. Depending on the circumstances this is not strictly speaking always required, but it will always fix any problems. Examples Bad LaTeX: Fixed: \tilde\mathcal f \tilde{\mathcal{f}} \dot \vec B \dot{\vec{B}} But when upgrading this could potentially break a lot of formulas. But I defer to your judgment about what is or is not a blocker. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #18 from Mark A. Hershberger 2011-10-28 02:07:59 UTC --- It'd be good to include a pointer to how to fix this. Otherwise, not a blocker. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Reedy changed: What|Removed |Added Blocks||28425 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Reedy changed: What|Removed |Added Blocks|29876 | -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Mark A. Hershberger changed: What|Removed |Added Priority|Highest |Normal --- Comment #17 from Mark A. Hershberger 2011-10-25 23:13:02 UTC --- lowering priority since this can be fixed on-wiki. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Mark A. Hershberger changed: What|Removed |Added Keywords||need-regression-test --- Comment #16 from Mark A. Hershberger 2011-10-15 22:02:54 UTC --- tagging bugs for Marcus to look at -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #15 from Nicholas Longo 2011-10-13 23:06:29 UTC --- Uploaded patch r99741. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #14 from Nicholas Longo 2011-10-13 16:39:34 UTC --- Explanation of Parser behavior. The parser previously added many braces (aka { } ) around expressions generously. This was causing issues with commands that produced space and was breaking some commands. For example It would translate \operatername{sen} x to $${\operatorname {sen}}x$$ does not produce the correct result. As a result the extra braces were removed. This causes strange behavior relating to math accents in the following ways: 1. Code that would used to compile under LaTeX is no longer sanitized to work under texvc. Examples include 1 from comment #10. 2. The amsmath package changes the way accents are handled (as discussed in their user documentation). Texvc only loads amsmath as needed. Which means if a command such as \text appears then the behavior suddenly seems to change. This is why Which is why \dot\vec B will not render but \text{rot}\dot\vec B will render, but incorrectly. Technically speaking amsmath insists all math accents use braces on all math accents. Thus despite the example the example of \text{rot}\dot{\vec{B}} actually compiling other examples do not compile exactly because of amsmath such as \tilde \mathcal{M} which is what was happening at the Mellin Transform page. This code $$\tilde \mathcal{M}$$ is fine as vanilla LaTeX but not accepted by amsmath. I am testing a patch now which does the following: 1. Restores the original placement of braces of braces. 2. Introduces a new function specifically to handle commands which are brace sensitive such as \operatorname. 3. Removes some unneeded white space for the sanitized LaTeX. I could use the following information/examples if anyone comes across them: Potentially many other examples of incorrect LaTeX were sanitized into working by way of adding braces. Do we know of any examples of things that broke that do not involve a math accent such as \dot, \vec, \tilde, \hat, etc.? I am interested because I think it would be wise to document the ways in which in which texvc extends/differs from LaTeX. There is, and has been for a long time interest in moving away from texvc to blahtex, mathjax, etc. And if we cannot give guidelines as to the non-standard LaTeX occuring within the wikimedia sites, it could be a rough transition. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #13 from Biezl 2011-10-11 18:55:34 UTC --- (In reply to comment #10) I've tested my TEX code on a diffrent MediaWiki (1.15) and recognized slightly diffrent rendering between case 1-3 and 4-5. I've tested Mediawiki 1.18 with preview, saved article, with login and without on FireFox 7, Opera 11.50 and Chrome 14. Tested sites include now Commons, MediaWiki.org and Incubator with preview. Don't know if texvc reacts on browser? BTW: Some people decided to patch all tex code in wikipedia, since I could only find few broken articles. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #12 from Aaron Schulz 2011-10-11 17:55:14 UTC --- Most servers are running a texvc with the same crc32 checksum. The following host have a different checksum: srv191 srv193 srv192 srv290 srv292 srv293 srv294 srv295 srv296 srv297 srv298 srv299 srv300 srv301 snapshot3 ...they all the same checksum (but different than the others). Permissions look OK on all servers. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #11 from Aaron Schulz 2011-10-11 17:43:58 UTC --- I can't reproduce errors with those examples. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #10 from Biezl 2011-10-11 07:30:33 UTC --- I've found some circumstances under which improper (misplaced) rendering happens. Code is tested on de.wikipedia.org and en.wikipedia.org # \dot \vec B not rendering # \dot {\vec B} proper rendering # \dot \vec B = X not rendering # \dot \vec B = \text{X} improper rendering # \dot \vec B = \mathrm X improper rendering -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #9 from Brion Vibber 2011-10-10 22:02:28 UTC --- Excellent --- concrete examples are VERY helpful here, and will help us to confirm whether this is for instance caused by changes to whitespace parsing. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #8 from mybugs.m...@gmail.com 2011-10-10 21:16:06 UTC --- (In reply to comment #7) > Dozens (hundreds?) of pages have already been updated using the work arounds. Indeed. There was some discussion about this at [[Wikipedia_talk:WikiProject_Mathematics#TeX_not_rendering]] -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #7 from Robert Rohde 2011-10-10 20:18:58 UTC --- (In reply to comment #6) > I tried rendering a bunch of variants of the example in comment 2 on > en.wikipedia.org; no visible problems. > > All the pages I see in the top Google results from link in comment 5 render > fine for me, except the one that explicitly tries a bunch of raw Unicode > characters which aren't supported as literals. > > Possibly the updated texvc was simply missing on a bunch of machines, or /math > output dir wasn't mounted on some machines, and it's since been resolved > either > manually or through regular processes like puppet updates. Dozens (hundreds?) of pages have already been updated using the work arounds. For examples of math code that used to work and now fails, look at old versions of pages like: https://en.wikipedia.org/w/index.php?title=Orientation_(computer_vision)&oldid=430039796 http://en.wikipedia.org/w/index.php?title=Mellin_transform&oldid=428975706 Also, the example given by Biezl in Comment 1 is a special case. It doesn't generate an error. Instead in renders a qualitatively different result than prior to the update. In that example, the vector arrow now appears to the upper left of the B rather than on top of it as it did prior to the update. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #6 from Brion Vibber 2011-10-10 20:06:46 UTC --- I tried rendering a bunch of variants of the example in comment 2 on en.wikipedia.org; no visible problems. All the pages I see in the top Google results from link in comment 5 render fine for me, except the one that explicitly tries a bunch of raw Unicode characters which aren't supported as literals. Possibly the updated texvc was simply missing on a bunch of machines, or /math output dir wasn't mounted on some machines, and it's since been resolved either manually or through regular processes like puppet updates. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #5 from mybugs.m...@gmail.com 2011-10-09 01:09:40 UTC --- (In reply to comment #4) > Right now there is no easy way of knowing > how widespread the failed renderings are, though it is seems likely that they > are effecting many thousands of math and science pages. A few of them are indexed by Google: http://www.google.com.br/search?q=%22Failed+to+parse+(PNG+conversion+failed%22+site%3Awikipedia.org -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #4 from Robert Rohde 2011-10-09 00:57:13 UTC --- If this bug is going to persist for a while, it might be nice to address the enhancement request in bug 31546. Specifically, converting the treatment of Math error messages to wikitext (from plain text) so that we can add tracking categories to help identify which pages are having problems. That way we can deploy work-arounds if we have to. Right now there is no easy way of knowing how widespread the failed renderings are, though it is seems likely that they are effecting many thousands of math and science pages. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Mark A. Hershberger changed: What|Removed |Added Priority|Unprioritized |Highest CC||m...@everybody.org -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #3 from mybugs.m...@gmail.com 2011-10-07 10:46:19 UTC --- The bug is also happening on Portuguese Wikipedia, on pages which were not changed in the last few days. E.g.: https://pt.wikipedia.org/w/index.php?diff=27158224&oldid=26994357&uselang=en#Representa.C3.A7.C3.A3o_alg.C3.A9brica -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 mybugs.m...@gmail.com changed: What|Removed |Added CC||mybugs.m...@gmail.com Blocks||29876 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Raimond Spekking changed: What|Removed |Added Component|General/Unknown |Math (texvc) Version|1.18|any Product|MediaWiki |MediaWiki extensions -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 Biezl changed: What|Removed |Added CC||m...@gmx.org --- Comment #2 from Biezl 2011-10-07 08:57:06 UTC --- There are rendering errors in formulars. This seems also a problem of nesting. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 31442] Math not rendering
https://bugzilla.wikimedia.org/show_bug.cgi?id=31442 --- Comment #1 from Biezl 2011-10-07 08:55:10 UTC --- Created attachment 9179 --> https://bugzilla.wikimedia.org/attachment.cgi?id=9179 rendering errors on formulas \text{rot}\vec E = \dot \vec B=0 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l