Page MenuHomePhabricator

Inserting template into slug causes seemingly random nodes to be selected
Closed, ResolvedPublic8 Estimated Story Points

Description

Screenshot before/after insertion.

  • Edit a page with a list of 3 inline templates as the first few nodes, for example:

<<<WT

  • {{test|a}}.
  • {{Unsigned|Root|00:43, 21 May 2013 (UTC)}}
  • {{Unsigned|1=Root|2=00:43, 21 May 2013 (UTC)}}
  • {{Unsigned|user=Root|date=00:43, 21 May 2013 (UTC)}}
  • {{ {{ucfirst:{{lc:UNSIGNED}}}} |user=Root|date=00:43, 21 May 2013 (UTC)}}

{{FooStart|a|one}}
Hi middle;
{{FooEnd}}

{{FooStart|b}}
Hi (again), middle;
{{FooEnd}}

  • {{PAGENAME}}

{{#tag:pre|{{msgnw::{{FULLPAGENAME}}}}}}

WT;

  • While still in the slug on top, insert a transclusion (e.g. {{Unsigned|Foo}})
  • After clicking "Apply changes" on the insertion dialog, the surface now has a selection spanning from {{Unsigned|Foo}} to right before {{FooStart}}. See attachment.

Version: unspecified
Severity: minor

Attached:

screenshot.png (1×2 px, 488 KB)

Details

Reference
bz56396

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:23 AM
bzimport set Reference to bz56396.
Jdforrester-WMF renamed this task from VisualEditor: Inserting template into slug causes seemingly random nodes to be selected to Inserting template into slug causes seemingly random nodes to be selected.Dec 5 2014, 7:16 PM
Jdforrester-WMF closed this task as Resolved.
Jdforrester-WMF set Security to None.