Last modified: 2014-04-17 21:26:43 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.
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.
Confirmed, see http://en.wikipedia.beta.wmflabs.org/w/index.php?title=User:Jdforrester_(WMF)/Bug_51090 vs. http://en.wikipedia.beta.wmflabs.org/w/index.php?title=User:Jdforrester_(WMF)/Bug_51090&veaction=edit
This needs to be checked more carefully after template expansion. Test case this will need to handle as well: [[{{echo|./Bla}}]]
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.
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
Change 121658 merged by jenkins-bot: Bug 51090: Render invalid wikilinks as plain text https://gerrit.wikimedia.org/r/121658
Change 124009 merged by jenkins-bot: (Bug 51090): Follow-up to 4dce7f620: handle transclusions + html2wt mode https://gerrit.wikimedia.org/r/124009