Page MenuHomePhabricator

visual editor creates broken |last= and |first= parameters in {{cite book}}
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable): I don't use ve so I don't know how it was done; Diff
What happens?:
ve created this {{cite book}} template:

  • {{Cite book |last=1945- |first=Smythe, John, |url=http://worldcat.org/oclc/474403154 |title=Downstage upfront : the first 40 years of New Zealand's longest-running professional theatre |date=2004 |publisher=Victoria University Press |isbn=978-0-86473-489-1 |oclc=474403154}}

in that template:

What should have happened instead?: no birth/death dates in name-holding parameters (no assigned values that are composed of only digits and/or punctuation); no trailing commas, colons, or semicolons (,:;) in any cs1|2 parameter value; no assigned value should begin with the assignment operator (=)
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):

Event Timeline

I can't reproduce this problem. I tried generating a citation from ISBN and I get the following, with correct last/first:

<ref>{{Cite book |last=Smythe |first=John |url=https://www.worldcat.org/oclc/60386677 |title=Downstage upfront : the first 40 years of New Zealand's longest-running professional theatre |date=2004 |publisher=Victoria University Press |isbn=0-86473-489-1 |location=Wellington, N.Z. |oclc=60386677}}</ref>

@Trappist_the_monk What makes you think that VE created the incorrect citation, rather than the user simply filling out the template incorrectly or copy-pasting it from somewhere?

I find it hard to believe the editor who added the citation would have intentionally written: |last=1945-. That suggests that some something created the citation which the editor accepted as written without carefully inspecting it. I suspect ve because the edit is tagged with 'Tag: Visual edit' so, without a more obvious culprit, ve seems the likely suspect.

I have asked the editor who made the edit how it was made. If there is a response, I will note it here.

the editor reports that they "typed the title of the book in the automatic citation field and then picked the book which came up as an option"

Thanks, I get the faulty citation now when I search for "Downstage upfront".