Page MenuHomePhabricator

User should not be able to create duplicate TemplateData in template and documentation
Closed, DuplicatePublic1 Estimated Story Points

Description

Steps to reproduce

  1. Open a template containing really long and detailed TD in its doc subpage
  2. Add TemplateData to the template
  3. Save

Expected behavior
This should be prevented, because TemplateData are then both in template and its doc subpage

Current behavior
I have to clean duplicite TD once in a while on Czech Wikipedia. The small yellow warning is not really helpful (maybe because it is small and yellow?)

Configuration
Both NWE and OWE affected, Codemirror not tested; Firefox 58

Event Timeline

Dvorapa created this task.Feb 1 2018, 7:02 PM
Restricted Application added a project: VisualEditor. · View Herald TranscriptFeb 1 2018, 7:02 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Dvorapa updated the task description. (Show Details)Feb 1 2018, 7:03 PM
Esanders renamed this task from Wikitext editor should not be able to create duplicite TemplateData in template and documentation to User should not be able to create duplicate TemplateData in template and documentation.Feb 1 2018, 8:08 PM
Esanders removed a project: VisualEditor.
Restricted Application added a project: VisualEditor. · View Herald TranscriptFeb 1 2018, 8:08 PM
Deskana triaged this task as Low priority.Feb 13 2018, 7:56 PM
Deskana set the point value for this task to 1.
Deskana moved this task from To Triage to Freezer on the VisualEditor board.