Page MenuHomePhabricator

Link to a section on the current page sends you to main page in VE editing UI
Closed, ResolvedPublicBUG REPORT

Description

Let's say you go to https://wikitech.wikimedia.org/wiki/Portal:Cloud_VPS/Admin/VM_images?veaction=edit and try to add a link to #Really_Important_Warning.
VE/Parsoid will actually produce wikitext like [[#Really Important Warning|#Really_Important_Warning]] which is okay.
However, in the VE UI on the popup when you select the link, the link goes to https://wikitech.wikimedia.org/wiki/#Really_Important_Warning which is the main page

Event Timeline

Change 502492 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] InternalLink: Add special case for fragment with no title

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

Change 502492 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] InternalLink: Add special case for fragment with no title

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

ppelberg claimed this task.