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

            Bug ID: 62399
           Summary: VisualEditor: VE should not allow creation of empty
                    references
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

Created attachment 14773
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=14773&action=edit
Screenshot

Steps to reproduce:

1.Open a page with VE
2.Go to Insert>Reference
3.Click on "Apply Changes" without inserting any content for the reference

Observed Result:
The empty reference gets added in the page and after saving it shows the error
message:Cite error: Invalid <ref> tag; refs with no content must have a name;
see the help page ().

Expected Result:

The "Apply Changes" button should remain disabled unless user enters any
content for the reference 

See the screenshot attached.


Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5 
http://en.wikipedia.beta.wmflabs.org/wiki/7thmarchrome

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