Page MenuHomePhabricator

Unclosed tags go across image thumbs
Closed, DeclinedPublic

Description

Test case:

[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text]] This should be normal
text

Expected the same output as:
[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text</small>]] This should
be normal text

Live wikipedia provides the same output as:
[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text</small>]] <small>This
should be normal text

Likely a "feature" of the new tidy. Thus MediaWiki sanitizer should fix it
before passing it to tidy.


Version: 1.10.x
Severity: normal
URL: http://es.wikipedia.org/wiki/Wikipedia:Caf%C3%A9/Portal/Archivo/T%C3%A9cnica/2007/04#Cuidado

Details

Reference
bz9538

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:35 PM
bzimport set Reference to bz9538.
bzimport added a subscriber: Unknown Object (MLST).

EN.WP.ST47 wrote:

Invalid input produces confusing output. Garbage in, garbage out, closing invalid.

[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text]] What kind of text should this be?</small>

I disagree. We shouldn't be producing garbage, even if providing garbage (that's why we pass the html through tidy).

Second, this was a change of behavior from the previous one, which caused problems on the wiki (I update the link to point to the archive)

Finally:
[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text</small>]] What kind of text should this be?&lt;/small&gt;

Izno closed this task as Declined.EditedAug 3 2018, 7:18 PM
Izno subscribed.

I think it's pretty safe to say that this will not be changed per how we've been working since Linter was enabled and now how Remex is used.