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

            Bug ID: 64715
           Summary: VisualEditor:  Citation tool should not add empty
                    citation templates
           Product: VisualEditor
           Version: unspecified
          Hardware: All
               URL: http://en.wikipedia.beta.wmflabs.org/w/index.php?title
                    =User:Whatamidoing_(WMF)/Sandbox&diff=91690&oldid=9168
                    6
                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: ---

Steps to Reproduce:
1. Citation > Cite web

2. Don't add any information.  Just click "Apply changes".

Result:  <ref>{{Cite web|url = |title = |date = |accessdate = |website =
}}</ref>

That's pointless.  If the fields are blank, don't add it (or remove it).


Steps to reproduce, part 2:

1. Citation > Cite web

2. Don't add any information.  Delete all the parameters. 

3. Click "Apply changes".

Result:  <ref>{{Cite web}}</ref>

That's even more pointless.  If there are no parameters, don't add it (or
remove it).





Reproducible: Didn't try

(The "invalid" parameter in that diff was manually created by me.  I don't
think you can do anything to help the person adding invalid parameters, because
there's no way to differentiate between invalid parameter names and valid names
that don't happen to be defined in TemplateData.)

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