Last modified: 2014-04-17 21:26:43 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 T53090, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51090 - [[./Foo]] is not valid wikitext for links and shouldn't be rendered as one
[[./Foo]] is not valid wikitext for links and shouldn't be rendered as one
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal minor
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-10 02:17 UTC by Erik Moeller
Modified: 2014-04-17 21:26 UTC (History)
6 users (show)

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


Attachments

Description Erik Moeller 2013-07-10 02:17:24 UTC
Links in the form [[./Bla]] are invalid markup, but are rendered as correct links in VisualEditor. There may be other types of invalid formats that are similarly accepted.
Comment 1 Chris McKenna 2013-08-25 16:22:43 UTC
You can't now enter these links in VE (bug 33094) but when they appear in the page they are still rendered as valid links in VE. For example [[./Bla]] displays the same as [[Bla]] in the source would and when right clicked, it opens that page.
Comment 3 Gabriel Wicke 2014-03-27 20:20:25 UTC
This needs to be checked more carefully after template expansion. Test case this will need to handle as well:

[[{{echo|./Bla}}]]
Comment 4 Gabriel Wicke 2014-03-27 20:28:37 UTC
This section details the invalid cases to handle:

http://en.wikipedia.org/wiki/Wikipedia:Page_name#Technical_restrictions_and_limitations

The best place to handle this is in onWikiLink in ext.core.LinkHandler.js.
Comment 5 Gerrit Notification Bot 2014-04-04 21:11:56 UTC
Change 124009 had a related patch set uploaded by Subramanya Sastry:
(Bug 51090): Follow-up to 4dce7f620: handles more scenarios

https://gerrit.wikimedia.org/r/124009
Comment 6 Gerrit Notification Bot 2014-04-10 05:53:50 UTC
Change 121658 merged by jenkins-bot:
Bug 51090: Render invalid wikilinks as plain text

https://gerrit.wikimedia.org/r/121658
Comment 7 Gerrit Notification Bot 2014-04-10 05:57:45 UTC
Change 124009 merged by jenkins-bot:
(Bug 51090): Follow-up to 4dce7f620: handle transclusions + html2wt mode

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

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


Navigation
Links