Page MenuHomePhabricator

VisualEditor: Sometimes ignores changing a wikilink with an underscore to one with a space
Closed, ResolvedPublic

Description

Author: the.anonymouse.wikimedia

Description:
I created a wikilink [https://en.wikipedia.org/w/index.php?title=User:The_Anonymouse/sandbox2&diff=558776770&oldid=548109401] as [[United_States]]. I then tried to use VisualEditor to change the underscore to a space ([[United States]]), but it said that my edit was ignored due to no changes. However, if I actually click the link button and click the United States link suggestion, it works as expected. That is how I eventually accomplished the edit with VisualEditor [https://en.wikipedia.org/w/index.php?title=User:The_Anonymouse/sandbox2&diff=558777422&oldid=558776770].


Version: unspecified
Severity: trivial
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=42140

Details

Reference
bz49310

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:59 AM
bzimport set Reference to bz49310.

Is this a Parsoid issue?

<p><a href="./Main_page" rel="mw:WikiLink" data-parsoid="{&quot;a&quot;:{&quot;href&quot;:&quot;./Main_page&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;Main_page&quot;},&quot;stx&quot;:&quot;simple&quot;,&quot;dsr&quot;:[0,13,2,2]}">Main page</a></p>

serialises to

[[Main_page]]

whereas

<p><a href="./Main_page" rel="mw:WikiLink">Main page</a></p>

serialises to

[[Main page]]

which is what we want

This got fixed a long time ago; sorry for the slow triage on your report.