Last modified: 2014-07-24 21:13:55 UTC
en.wp user User:Timwi reports "On the page [[Earth]], we had the following markup code: [[File:(filename)|thumb|700px|center| (caption here) |alt= (alt text here) ]] The VisualEditor parsed this incorrectly and assumed that “alt= (alt text here)” was the ''caption''. Changing the order of the items fixed this despite having no effect on the rendered page, which indicates that it’s a bug in VisualEditor and not incorrect MediaWiki markup." http://en.wikipedia.org/w/index.php?title=Earth&diff=566614668&oldid=566595613 I've done some testing in my sandbox and it seems like the issue is somehow related to the presence of the {{val}} template. I wasn't able to replicate the bug with the {{small}} or {{convert}} templates for example, but I've not done extensive testing with the latter or with any other template. https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox&oldid=566618437&veaction=edit
Verified fixed in deployed Parsoid version.
Never mind. My eyes deceived me. The following snippet still parses incorrectly. [[File:Solar Life Cycle.svg|thumb|700px|center|The life cycle of the Sun|alt=14 billion year timeline showing Sun's present age at {{val|4.6|ul=byr}}; from {{val|6|u=byr}} Sun gradually warming, becoming a red dwarf at, "soon" followed by its transformation into a white dwarf star]]