Last modified: 2014-02-19 23:31:32 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 T62753, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60753 - Images: Empty link not accepted in image caption
Images: Empty link not accepted in image caption
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
tokenizer (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-03 04:42 UTC by ssastry
Modified: 2014-02-19 23:31 UTC (History)
2 users (show)

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


Attachments

Description ssastry 2014-02-03 04:42:11 UTC
Try parsing this:

[[File:Foo.jpg|thumb|Caption
[[Link1]]
[[]]
[[Link2]]
]]

versus

[[File:Foo.jpg|thumb|Caption
[[Link1]]
[[a]]
[[Link2]]
]]
Comment 2 Gabriel Wicke 2014-02-06 19:45:37 UTC
The PHP parser parses empty wiki link as text. Test page: https://www.mediawiki.org/wiki/User:GWicke/Test/EmptyLink
Comment 3 Gerrit Notification Bot 2014-02-09 21:04:12 UTC
Change 112401 had a related patch set uploaded by Hardikj:
Bug 60753 - Images: Empty link not accepted in image caption

https://gerrit.wikimedia.org/r/112401
Comment 4 Gerrit Notification Bot 2014-02-11 22:25:26 UTC
Change 112401 merged by jenkins-bot:
(Bug 60753) Accept empty links in image caption.

https://gerrit.wikimedia.org/r/112401

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


Navigation
Links