Last modified: 2011-07-18 15:05:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9538 - Unclosed tags go across image thumbs
Unclosed tags go across image thumbs
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks: tidy
  Show dependency treegraph
Reported: 2007-04-09 11:45 UTC by Platonides
Modified: 2011-07-18 15:05 UTC (History)
1 user (show)

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


Description Platonides 2007-04-09 11:45:44 UTC
Test case:

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

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.
Comment 1 Dan Collins 2011-07-18 05:00:29 UTC
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>
Comment 2 Platonides 2011-07-18 15:05:21 UTC
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)

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

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