Last modified: 2013-08-15 21:12:45 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 T51293, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49293 - Images: link parameter should handle external urls correctly
Images: link parameter should handle external urls correctly
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: C. Scott Ananian
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-07 08:17 UTC by Kelson [Emmanuel Engelhart]
Modified: 2013-08-15 21:12 UTC (History)
2 users (show)

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


Attachments

Description Kelson [Emmanuel Engelhart] 2013-06-07 08:17:10 UTC
If you parse this wiki code:
[[file:speakerlink-new.svg|11px|link={{filepath:En-us-Paris.ogg}}|Listen]]

You get a link with the following href value:
.///upload.wikimedia.org/wikipedia/commons/0/0e/En-us-Paris.ogg

The href value should be:
//upload.wikimedia.org/wikipedia/commons/0/0e/En-us-Paris.ogg
Comment 1 ssastry 2013-06-07 16:10:53 UTC
Simplified example: [[File:foo.jpg|link=//upload.wikimedia.org/wikipedia/commons/0/0e/En-us-Paris.ogg]]
Comment 2 C. Scott Ananian 2013-08-05 22:24:29 UTC
Similarly, [[File:Foobar.jpg|link=http://example.com]] yields <a href="./Http://example.com" ...>
Comment 3 Gerrit Notification Bot 2013-08-06 22:47:32 UTC
Change 77984 had a related patch set uploaded by Cscott:
Images: link parameter should handle external URLs correctly.

https://gerrit.wikimedia.org/r/77984
Comment 4 Gerrit Notification Bot 2013-08-07 21:36:39 UTC
Change 77984 merged by jenkins-bot:
Images: link parameter should handle external URLs correctly.

https://gerrit.wikimedia.org/r/77984
Comment 5 C. Scott Ananian 2013-08-15 21:12:45 UTC
Seems to be fixed: http://en.wikipedia.org/wiki/User:Cscott/bug49293?veaction=edit

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


Navigation
Links