https://bugzilla.wikimedia.org/show_bug.cgi?id=56396

       Web browser: ---
            Bug ID: 56396
           Summary: VisualEditor: Inserting template into slug causes
                    seemingly random nodes to be selected
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: code-update-regression
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 13635
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=13635&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to