Last modified: 2010-05-15 15:33:02 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 T3219, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1219 - Bare URLs abutting images cause mangled HTML
Bare URLs abutting images cause mangled HTML
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Gre...
: parser
Depends on: 1217
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-28 03:21 UTC by grendelkhan
Modified: 2010-05-15 15:33 UTC (History)
0 users

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


Attachments

Description grendelkhan 2004-12-28 03:21:28 UTC
The following creates a problem.

http://foo.bar﷒0﷓

The following does not.

http://foo.bar [[Image:Wiki.png]]
Comment 1 JeLuF 2004-12-30 23:51:00 UTC
http://foo.bar/﷒0﷓ becomes
http://foo.bar/NaodW29-item1dee77c1744b8dc7 after processing internal links.
This turns into <a
href="http://foo.bar/NaodW29-item1dee77c1744b8dc7">http://foo.bar/NaodW29-item1dee77c1744b8dc7</a>
after processing external links. Then the text is unescaped and
NaodW29-item1dee77c1744b8dc7 becomes <a href="Image:Wiki.png"><img
src="...."></a>. Voila, everything messed up.
Comment 2 Rowan Collins [IMSoP] 2005-01-14 01:25:55 UTC
In fixing bug 1217, I appeared to have "accidentally" fixed this as well. The
image was being replaced by a "strip item", and because the "stip item" now
looks like any other text, the ext. link was eating it. But with my patch to bug
1217, images don't get turned into a generic "strip item" anyway, so the problem
won't show up - at least for this particular case. [Whether anything else will
end up putting a strip item next to an ext link, I'm not sure...]
Comment 3 JeLuF 2005-01-23 08:14:29 UTC
As Rowan says, this seems to be fixed by the patch for bug 1217.

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


Navigation
Links