Last modified: 2014-03-11 01:32:19 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 T58396, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56396 - VisualEditor: Inserting template into slug causes seemingly random nodes to be selected
VisualEditor: Inserting template into slug causes seemingly random nodes to b...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal minor
: ---
Assigned To: Editing team bugs – take if you're interested!
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-30 22:38 UTC by Krinkle
Modified: 2014-03-11 01:32 UTC (History)
4 users (show)

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


Attachments
Screenshot before/after insertion. (488.72 KB, image/png)
2013-10-30 22:38 UTC, Krinkle
Details

Description Krinkle 2013-10-30 22:38:07 UTC
Created attachment 13635 [details]
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.

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


Navigation
Links