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

            Bug ID: 65301
           Summary: VisualEditor:  If a reference is defined in a
                    template, and re-used outside of it, and you delete
                    the template, then the reference contents get lost
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Steps to Reproduce:
1. Start with a page that contains:

(a) a template with a named ref inside it:  {{quote|Text.<ref name=Foo>Example
citation</ref>}}

(b) Some text outside the template that re-uses that citation:  Text.<ref
name=Foo />

2. Open the page in VisualEditor and remove the template.



Actual Results:  
The named ref becomes undefined.  VisualEditor doesn't "see" the citation
inside the template, so it can't rescue the re-used template-based citation
content when the template is deleted.

Expected Results:  
That the citation content would be preserved, just like it is preseved when the
first instance of a re-used citation in regular page text (outside of
templates) is removed.

Reproducible: Always

-- 
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