Jump to content

Help talk:Citation Style 1

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 72.43.99.146 (talk) at 13:50, 12 May 2017 (→‎ISBNs in mw:Citoid: Next.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Any update on doi-broken-date?

If anything, the doi should at the very least still link. Other improvements can wait/get more discussion, but the linking part should be easy to fix. Headbomb {t · c · p · b} 14:25, 11 April 2017 (UTC)[reply]

@Trappist the monk: Any way we can get this bundled in the weekend's update? Headbomb {t · c · p · b} 05:29, 26 April 2017 (UTC)[reply]
The purpose of this interstitial period is to have a last chance to find and fix bugs; to create or modify supporting documentation, categories, templates, etc. – housekeeping preparatory to the update. It is not the time for new development or new features.
Trappist the monk (talk) 11:28, 26 April 2017 (UTC)[reply]
Yeah well this has been requested a long while ago, is an easy fix, and we have over half a week left. WP:BURO applies here. Headbomb {t · c · p · b} 11:57, 26 April 2017 (UTC)[reply]

Can we now implement this? Headbomb {t · c · p · b} 00:27, 2 May 2017 (UTC)[reply]

PMCID and the PMC prefix

I wanted to bring this topic back to the surface again. It was recently discussed at Help_talk:Citation_Style_1/Archive_30#PMC, which led to the creation of phab:T157152. This ticket concludes (and I agree) that what CS1 is doing is basically not following the guidelines for usage of PMCID usage. It is therefor a 'CS1'-problem that we should deal with at this level as well. I think we have two options, either make the 'input format' of the PMCID be more flexible (The lua code can easily be adapted to accept both) or cleanup PMCID additions with a bot. —TheDJ (talkcontribs) 15:14, 12 April 2017 (UTC)[reply]

It's a citoid bug, so fix citoid? Headbomb {t · c · p · b} 15:40, 12 April 2017 (UTC)[reply]
Mmm I see. [1] says format should be PMCID: PMC#####. We should follow suit then. Headbomb {t · c · p · b} 15:49, 12 April 2017 (UTC)[reply]
(The lua code can easily be adapted to accept both) Do we want to have output of "PMC PMC\d*" or "PMC \d*" in the event that we take that path? --Izno (talk) 15:59, 12 April 2017 (UTC)[reply]
Aside courtesy @Boghog: due to involvement on the phabricator task. --Izno (talk) 16:06, 12 April 2017 (UTC)[reply]
Izno, according to that documentation, the output should be PMCIDPMC0123456. Headbomb {t · c · p · b} 16:11, 12 April 2017 (UTC)[reply]
Which has little or no bearing on how we present the ID. I appreciate the fact that the ID is actually "PMC\d*", but that does not require us to present the ID as "PMC: PMC\d*" or even "PMC\d* rather than the current "PMC: \d*", and in fact I disfavor the former as being unnecessary at this time and the latter as being somewhat inconsistent with how we do present it presently. --Izno (talk) 16:29, 12 April 2017 (UTC)[reply]
The NIH guideline (e.g., PMCID: PMC2291284) is crazy. Why repeat PMC twice? As pointed out by Izno and Trappist, there is no reason that CS1/2 has to follow the NIH guideline. Even less reason why the parmeter value has to include PMC (e.g., |pmc=PMC2291284). Boghog (talk) 17:31, 12 April 2017 (UTC)[reply]
Not that crazy. Numbers without context are meaningless. By explicitly making the context part of the identifier, it's easier to scrape the web and find your numbers back (for starters). It's also not really uncommon. Many image database identifiers do the same thing for instance. —TheDJ (talkcontribs) 19:35, 12 April 2017 (UTC)[reply]
For consistency, we then should add the parameter names to all parameter values (e.g., |volume=volume298, |issue=issue1, |pages=pages59–70, |year=year2006, |doi=doi10.1016/j.ydbio.2006.06.013, |volume=volume4}. The context is provided by the parameter name (e.g., |pmc=2291284) and in wiki link in the rendered citation (PMC: 2291284). It is redundant to repeat the parameter name in the parameter value and the wiki linked database name in the database accession number. Boghog (talk) 19:46, 13 April 2017 (UTC)[reply]
For scraping Wikipedia for specific PMC ids, CirrusSearch works pretty well (e.g., insource:\pmc = \d+\). Boghog (talk) 20:33, 13 April 2017 (UTC)[reply]
That's the thing. For the PMID, the actual PMID is a pure number: e.g. 18183754. For the PMCID, the actual PMCID is not a pure number, it is e.g. PMC2990724. Headbomb {t · c · p · b} 19:55, 13 April 2017 (UTC)[reply]
QED. The NIH is internally inconsistent. Boghog (talk) 20:02, 13 April 2017 (UTC)[reply]
[citation needed] Headbomb {t · c · p · b} 20:22, 13 April 2017 (UTC)[reply]
the actual PMID is a pure number: e.g. 18183754 Just quoting you ;-) Boghog (talk) 20:37, 13 April 2017 (UTC)[reply]
I don't follow. PMIDs are in one format. PMCIDs are in another. It's like faulting ISBNs for not following the format of ISSNs. Headbomb {t · c · p · b} 20:39, 13 April 2017 (UTC)[reply]
Both ISSNs and ISBNs are ISO standards and neither requires that the parameter name be include in the parameter value. Hence ISSNs and ISBNs are internally consistent. PMIDs and PMCIDs are both issued by the US National Library of Medicine/National Institutes of Health and only the PMC requires that the parameter name be included in the parameter value. This is inconsistent. Boghog (talk) 20:51, 13 April 2017 (UTC)[reply]
ISSN is 8 characters. ISBN is 10 or 13. Clearly this is inconsistent. And no, the PMCID does not required the 'parameter name ' to be included in the parameter value. The name is PMCID, the value is PMC0123456. PMCID does not appear in PMC0123456 and even if it did, so what? Headbomb {t · c · p · b} 20:59, 13 April 2017 (UTC)[reply]
The letters "PMC" appear twice which is redundant. Boghog (talk) 21:03, 13 April 2017 (UTC)[reply]
Again, so what? Headbomb {t · c · p · b} 07:02, 14 April 2017 (UTC)[reply]

The most valuable of all talents is that of never using two words when one will do.

Boghog (talk) 07:38, 14 April 2017 (UTC)[reply]
cs1|2, claims to the contrary notwithstanding, is a style in its own right. cs1|2 takes cues from published style guides but is not beholden to those style guides. So it is with PMC. We have no obligation to make cs1|2 adhere to PubMed Central's preferred styling. Given the comments in phab:T157152 I think it unlikely that those who play in the internals of citoid are interested in a citoid solution to the problem. That leaves it to us. We can tweak the module to accept PMC values with the redundant PMC prefix and then do as we wish with it.
Trappist the monk (talk) 16:24, 12 April 2017 (UTC)[reply]
Because I think that there is no citoid fix, I've tweaked Module:Citation/CS1/Identifiers/sandbox:
  • 4664-351: Title. PMC 4664-351. {{cite book}}: Check |pmc= value (help)
  • 4664351: Title. PMC 4664351.
  • pmc4664-351: Title. PMC pmc4664-351. {{cite book}}: Check |pmc= value (help)
  • pmc4664351: Title. PMC 4664351.{{cite book}}: CS1 maint: PMC format (link)
  • pmc 4664351: Title. PMC pmc 4664351. {{cite book}}: Check |pmc= value (help)
Trappist the monk (talk) 17:13, 12 April 2017 (UTC)[reply]
I assume from the length of the phab ticket that mediawiki devs have declined to do anything on their side. So yes, pragmatic solution for the moment is to allow |pmc=pmc1234 and |pmc=PMC1234 in addition to the existing |pmc=1234 (do we need to allow |pmc=pmc 1234 too?), and leave the rendered display as-is. If there is a desire to change the rendered display, that's a separate matter (I am also of the view that the PubMed guidelines seem to want redundancy that we are not required to show; broadly I think they want any display to be clear whether the number is a PMID or a PMC, which we do clearly as is, so I don't see a need to change rendered display.) Rjwilmsi 19:21, 12 April 2017 (UTC)[reply]
The primary point being made in the ticket is that the identifier is NOT just the number, but PMCnumber, and so Citoid is conceptually returning the right value. It's just that our templates expect a 'partial identifier'. The developer discussion gave no judgement on how we should render the ID. I wouldn't object personally to keeping any representation to just as it is right now, even though NIH guidelines suggest something else. However I do note that NIH uses that notation quite consistently, and I think that such consistency is something to take into account when evaluating this. —TheDJ (talkcontribs) 19:51, 12 April 2017 (UTC)[reply]
I've changed Module:Citation/CS1/Identifiers/sandbox slightly, to simply allow the number to be prefixed with PMC and display everything as we have so far. I think this is best for now. —TheDJ (talkcontribs) 08:45, 14 April 2017 (UTC)[reply]
Why not display it as "Title. PMC4664351" directly then? Do we really need the first "PMC: "? My proposal would be to remove the first "PMC: " and normalize all input identifiers to add PMC in front of the number. This minimizes the visual difference compared to what we have now. − Pintoch (talk) 09:16, 14 April 2017 (UTC)[reply]
Yes, we do need the first PMC as it explains what PMC is. Also, if we changed the PMC link to a plain link, it would no longer be consistent with the way |doi=, |pmid=, |isbn=, |issn=, |bibcode=, etc are rendered. Boghog (talk) 09:34, 14 April 2017 (UTC)[reply]
I think most readers do not care about what PMC is. They just want to read their article. When we use |url=, we don't put a link to the Wikipedia article for the website, and that's fine! As far as I know, Wikipedia is the only website with this weird convention. Citation templates are meant to refer to a source, not to give a lecture on the IT infrastructure of scholarly communications, especially when it comes to the cost of a painful redundancy like "PMC PMC1234". − Pintoch (talk) 12:27, 14 April 2017 (UTC)[reply]
Wikipedia is also designed to be read by people not familiar with academia, and students that are yet to become familiar with the bibliographic databases of their fields. We have different needs and aims than professional journals. Also, there is no PMC PMC1234 redundancy, right now we render PMC 012345. There might be a case for rendering PMCIDPMC012345 however. I don't particular like it, but it is the 'official' way of doing things.Headbomb {t · c · p · b} 12:41, 14 April 2017 (UTC)[reply]
(edit conflict) I completely agree that writing PMC twice is redundant. Boghog (talk) 12:45, 14 April 2017 (UTC)[reply]
No one has proposed to write PMC twice. Stop pretending this is even on the table. Headbomb {t · c · p · b} 12:47, 14 April 2017 (UTC)[reply]
So do you agree that adopting the full NIH recommendation (PMCID: PMC012345) which is redundant is not on the table? Furthermore, there is very little difference between writing "PMC 012345" as is currently done versus "PMC012345" except that the former is more legible. Boghog (talk) 13:18, 14 April 2017 (UTC)[reply]
The NIH format is on the table. PMC PMC0123456, however, is not. Headbomb {t · c · p · b} 13:21, 14 April 2017 (UTC)[reply]
No one has proposed to write PMC twice. The NIH format writes PMC twice (PMCID: PMC012345). Boghog (talk) 13:29, 14 April 2017 (UTC)[reply]
Yes, and that is their legit, official format [name of identifier] [actual identifier], quite clearly distinct from one another, not PMC PMC0123465 as you have been arguing above. We do this for most of our identifiers, e.g arXiv:1301.1234, ISSN 1927-226X, PMID 12346, etc. We can choose to deviate from the official format if we want, but this would be a choice and we'd need a strong consensus to do so. Headbomb {t · c · p · b} 15:22, 14 April 2017 (UTC)[reply]
Official or not, "PMCID: PMC0123465" is every bit as redundant as "PMC: PMC0123465". As argued below, we have zero obligation to follow the NIH recommendations. Quite to the contrary, it would take a strong consensus to overturn the long standing convention in how Wikipedia handles PMC identifiers. This is problem that did not exist until the folks that maintain Citoid decided to take a rigid interpretation of the NIH guidelines that do not apply to Wikipedia. Finally, none of the other identifiers that you mention contain a similar redundancy including and most notably |pmid=. Boghog (talk) 16:21, 14 April 2017 (UTC)[reply]
I agree. If you want to accept |pmc=pmc1234 (or |pmcid=pmc1234 if you prefer) that's fine, but please make sure the string "PMC" does not appear twice in the output (just to make things clear: in "PMCID: PMC1234", there are two occurrences of the "PMC" string). − Pintoch (talk) 17:58, 14 April 2017 (UTC)[reply]
It is important to note that the scope of the NIH guideline is limited to Anyone submitting an application, proposal or report to the NIH. Wikipedia is not submitting anything to the NIH. The guideline is silent about how references or links to PMC are formatted in journals. This is a decision made by individual journals, not the NIH. Likewise Wikipedia is not bound by NIH guidelines. Boghog (talk) 09:45, 14 April 2017 (UTC)[reply]
Absolutely. If you intend to follow the guidelines of all the organizations that issue the identifiers in use on Wikipedia, then you should also change doi:10.5468/ogs.2016.59.1.1 to doi:https://doi.org/10.5468/ogs.2016.59.1.1, because Crossref recommends to write DOIs as URLs! I am sure this is going to be a very popular change. No redundancy at all! − Pintoch (talk) 17:58, 14 April 2017 (UTC)[reply]

Proposal: silently drop "PMC" from identifier

In the interest of maintaining our citation style while allowing editors to add PMC identifiers that are technically correct, and in the interest of avoiding redundancy, I propose the following change, if it is technically possible:

  • Allow identifiers of the form |pmc=1234567 and |pmc=PMC1234567 and |pmc=pmc1234567.
  • If "PMC" is present in the identifier, silently drop it during rendering, and render the identifier as we currently do: PMC 1234567.
  • Run the identifier validity check on the numeric portion of the identifier only. – Jonesey95 (talk) 21:09, 14 April 2017 (UTC)[reply]
I support this proposal. − Pintoch (talk) 21:12, 14 April 2017 (UTC)[reply]
This has already been done in the sandbox. I made that change because cs1|2 has a long-standing 'style' (if you will) that, in the live version of the module, is being broken in templates authored by citoid. If the proposal is to 'formalize' the acceptance of that change to the module, meh, I'm indifferent. If the purpose is to get Editors Headbomb and Boghog to put a cork in it, then I wholeheartedly support the proposal. I will note that the change to the module isn't quite silent; there is code that adds a maintenance category for templates that include a 'pmc' prefix in the parameter value.
Trappist the monk (talk) 21:44, 14 April 2017 (UTC)[reply]
You're proposing to drop the identier name / keep the same rendering, not proposing to drop the PMC in the identifer. That proposal would be either rendering it as PMCID 01234 or simply 01234. Neither of which are acceptable.
I support keeping the same rendering FWIW. But let's not falsely label this as "dropping the pmc from the identifier". Headbomb {t · c · p · b} 22:51, 14 April 2017 (UTC)[reply]
Headbomb, we know (or at least I think) you understand what is meant here, so please let us not dance on the head of a pin about language. What Jonesey95 is proposing, and what is currently implemented, is to convert identifiers input as |pmc=PMC12345 back to |pmc=12345 internally, and then display it as usual. In that sense, it is correct to say that the code "drops the pmc from the identifier" (even if "PMC: " is prepended afterwards). By doing so it keeps the rendered version unchanged. I think the description above is crystal clear for anyone familiar with CS1, which is your case. − Pintoch (talk) 00:05, 15 April 2017 (UTC)[reply]
I support Jonesey's pragmatic proposal (and Trappist's sandbox implementation). Boghog (talk) 05:36, 15 April 2017 (UTC)[reply]
Discussion seems to have stalled. Shall I make the change then ? —TheDJ (talkcontribs) 08:14, 24 April 2017 (UTC)[reply]
No. This change will be part of the update.
Trappist the monk (talk) 08:50, 24 April 2017 (UTC)[reply]

Month–month, year and html-encoded en-dashes

The CS1 templates are happy with |date=July–August 2008 but give warnings for the should-be-identical |date=July–August 2008. There are some editors out there (not me, but others I've interacted with) who insist that spelling out the – rather than using an en-dash character is necessary to make the type of dash more visible to editors reading the source. Is there some way to make the citation templates accept input in this format? —David Eppstein (talk) 19:49, 16 April 2017 (UTC)[reply]

I would guess that this is in the realm of possible, and a simply transform to the Unicode variant can take care of it for the metadata. --Izno (talk) 21:09, 16 April 2017 (UTC)[reply]
More broadly, I'm sick of hearing that symbolics like –, & , {{ndash}}, and {{nbsp}} "pollute the COinS metadata" (as if anyone cared about that anyway). Post process the COinS data tobrdgularize that kind of thing and stop expecting editors to remember a bunch if special restrictions. EEng 21:29, 16 April 2017 (UTC)[reply]
I use {{en dash}}. It is safe and error free. I generally agree that editors should not be limited by badly implemented interfaces foreign to the Wikipedia's citation system. 64.134.240.62 (talk) 21:39, 16 April 2017 (UTC)[reply]
That does seem to work within the CS1 templates; thanks! It also may have the helpful side affect of being less likely to be removed by AWB-enthusiasts. —David Eppstein (talk) 21:53, 16 April 2017 (UTC)[reply]
You're welcome. Notice that {{spaced en dash}} which is appropriate in some date citations is hatnoted as a no-no due to COINS limitations. 64.134.240.62 (talk) 22:05, 16 April 2017 (UTC)[reply]
Wait a second. I've been told many times that I can't use {{ndash}} either. Any why is {{spaced ndash}} a "no-no"? What exactly are these COINS limitations? I've been asking for years and never get an answer. EEng 14:35, 20 April 2017 (UTC)[reply]
{{spaced ndash}} resolves to:
 – 
Before it is handed to a cs1|2 template, this date example:
|date=Winter 1992{{spaced ndash}}Spring 1993
resolves to:
Winter 1992 – Spring 1993
The cs1|2 template then percent encodes each of those characters for COinS:
Winter+1992%26nbsp%3B%26ndash%3B%26%2332%3BSpring+1993
Trappist the monk (talk) 15:13, 20 April 2017 (UTC)[reply]
The main thing is to format citations with ease, and in such a way that the result is clear to readers. I would not at all worry about COinS compatibility. It is by no means a (1) bug-free or (2) universal, standard. Granted that some of the inconsistencies stem from its reliance on OpenURL, which itself can be problematic. But Wikipedia citations do not have to be compatible with any foreign interface. It is up to those that design and implement such interfaces to make sure their middleware works correctly with its target platforms. We are talking about a 10-year+ effort that, when it comes to Wikipedia, cannot resolve basic HTML entities. That is why {{spaced en dash}} (a correct implementation) throws a hiccup. {{en dash}} doesn't because it utilizes the plain glyph. Symbolically/programmatically, {{en dash}} is inferior: the rendering of glyphs is not uniform. 65.88.88.127 (talk) 20:38, 20 April 2017 (UTC)[reply]
I'm having trouble making sense of this:
That is why {{spaced en dash}} (a correct implementation) throws a hiccup. {{en dash}} doesn't because it utilizes the plain glyph. Symbolically/programmatically, {{en dash}} is inferior: the rendering of glyphs is not uniform.
especially that last bit: the rendering of glyphs is not uniform.
If I write:
{{spaced en dash}}{{en dash}}
I get:
 – –
If you look in this page's source, this:
 – –
has been translated to:
 – –
Those two en dashes are the same character: U+2013. It would appear that the rendering is, for this particular example, uniform.
Trappist the monk (talk) 10:25, 23 April 2017 (UTC)[reply]
"Symbolically/programmatically". Because right now there is no guarantee that a formatting character will display uniformly across platforms, the proper way to input the character is through its universal encoding. The template {{spaced en dash}} does this. {{en dash}} doesn't. In the latter case, editors have no certain way of knowing whether the writer intended an en dash or any other similar formatting character. Not only are there many different dashes, but they also may display differently, depending on platform. 72.43.99.138 (talk) 14:20, 23 April 2017 (UTC)[reply]
I don't think that I buy this. Wikipedia serves html5 using character set UTF-8. In html5, – maps to the unicode character U+2013 and has done since html 4 and perhaps earlier. See html5 named character references (a rather awful table – here's a friendlier version). For the purposes of display, there is no distinction between a source that uses – or – or the en dash glyph. The browser will render any of these characters in exactly the same way according to the specified font (if it doesn't then the browser is fundamentally flawed).
I have some sympathy for the complaint that the various dashes look rather similar in the wikitext edit box but that is the fault of the font, not of the html source.
Trappist the monk (talk) 11:17, 25 April 2017 (UTC)[reply]
For the purposes of your display. There is no guarantee that what appears to you as a particular formatting character will do so across others' displays, browsers, scripting frameworks, operating systems, or hardware. There is nothing to buy here. The proper way to program this is to enter the code which unambiguously stands for the character you intend. But the point is not about bad/lazy template authoring. This tangent is a byproduct of the badly-written COinS interface, which forces these contortions. 72.43.99.138 (talk) 13:48, 25 April 2017 (UTC)[reply]
Let me repeat myself: Wikipedia serves html5 using character set UTF-8. In html5, – maps to the unicode character U+2013. Because – is defined as U+2013, any browser compliant with html4 and later will render – and U+2013 in the same way. How you see that character is determined by your chosen font. I can set my browser to render all text in a serif font which may display an en dash differently from the way it would be display were I to set my browser to render all text with a sanserif font. At the source level, there is no ambiguity because – = U+2013.
I have written nothing regarding bad/lazy template authoring. I don't understand why you have made that statement.
That COinS is old and is limited is not a point of contention. I have, in the past, collected as much of the metadata code in a single place as I could so that we might, if ever we take the decision to do so, emit metadata according to some other standard and the effort required is mostly the writing of a module to replace Module:Citation/CS1/COinS. Propose a better metadata standard.
Trappist the monk (talk) 10:23, 27 April 2017 (UTC)[reply]
First, get rid of artificial limitations on users of these templates, that are imposed by inadequate interfaces. Secondly, we don't have to propose any metadata standard. Wikipedia citations don't exist to play nice with reference software or bibliographic systems. They are required in order to verify anonymous/pseudonymous claims. If you want to interface with foreign systems do it in a way that is totally transparent to end-users. Otherwise this may well add undue burden to the creation of citations using these templates. So this may be a potential obstacle to verification.
The lazy/bad template authoring comment was referring to {{en dash}}. Basically a scripted (as in template script) glyph. Why even bother? Either use the bare symbol or script it properly with its encoding. By the way, variable user font selection is to be anticipated, and one more reason to use the proper encoding so that later editors know what is expected. And it is simply not true that browsers or platforms interpret the standards uniformly. I am sure you have seen how an em dash displays on say, MacOS 10.x (Safari). 72.43.99.146 (talk) 13:21, 27 April 2017 (UTC)[reply]

So all these years busybodies have been giving people a hard time for using templates in citation values for nothing? I'm shocked. EEng 01:04, 22 April 2017 (UTC)[reply]

Reprint

How to note a reprint? bkb (talk) 08:44, 17 April 2017 (UTC)[reply]

Is it important to do so? Does the rest of the bibliographic detail not sufficiently WP:SAYWHEREYOUGOTIT? I have seen reprints noted in either of |edition= or |type=.
Trappist the monk (talk) 10:50, 17 April 2017 (UTC)[reply]
|edition=Reprint usually. Headbomb {t · c · p · b} 11:23, 17 April 2017 (UTC)[reply]
I would not mention that a book was a reprint unless
  1. it was reprinted by a different publisher
  2. it was described as a corrected reprinting, or similar, or
  3. the page numbers of the reprint don't match the page numbers of the earlier version. Jc3s5h (talk) 14:32, 17 April 2017 (UTC)[reply]
Sometimes knowing the print run is important to identify a particular issue of a book, as errors are sometimes silently fixed. I have also seen other changes with reprints, different covers, updated prefaces, changed prices, and sometimes even without changing the ISBN. Therefore, I proposed to introduce a new parameter like |print-run= a while ago. This would allow editors to specify the extra info where they see fit without overloading the |edition= parameter. For now, the template could just concatenate the values of both parameters for output, but keeping it in separate parameters would improve machine readability and allow us to adjust the output format depending on the target environment anytime later on (f.e. ignore the |print-run= parameter for meta data schemes not supporting it).
--Matthiaspaul (talk) 23:29, 26 April 2017 (UTC)[reply]

Identifying editors

Can we automatically identify editors with "ed." or "eds." through this template in all instances? I'm doing a source review of Macedonia (ancient kingdom), and I really can't imagine that it's clear to a reader when someone is an editor or not. Ed [talk] [majestic titan]

I agree. The template currently does this when the whole book is cited:
  • Editor, Ann, ed. (2000). Edited book. {{cite book}}: |editor-last= has generic name (help)
  • Editor, Ann (ed.). Edited book. {{cite book}}: |editor-last= has generic name (help)
but not when a chapter of an edited book is cited:
  • Contributor, A. (2000). "Chapter". In Editor, Ann (ed.). Edited book. pp. 1–23. {{cite book}}: |last= has generic name (help)
Also marking the editor in in this case would be clearer. I would suggest the same formatting as for books without years:
  • Contributor, A. (2000). "Chapter". In Editor, Ann (ed.). Edited book. {{cite book}}: |editor-last= has generic name (help) pp. 1–23.
Kanguole 08:47, 18 April 2017 (UTC)[reply]
It is the responsibility of the cs1|2 templates to render the citation with appropriate punctuation and appropriate static text. Editors should not be adding extraneous text to template parameters as you have done with this edit. If we make this change as you've requested, then that citation will render the editor list this way:
Bolman, Elizabeth S., ed., ed.
or this way, if Editor Kanguole's preference prevails:
Bolman, Elizabeth S., ed. (ed.)
If we are to make this change, is the full stop (cs1) or comma (cs2) the correct punctuation to separate <editor list> from title? Somehow, for me, a colon seems more correct:
<author list> (2000). "Chapter". In <editor list>: Edited book. pp. 1–23.
Trappist the monk (talk) 11:14, 18 April 2017 (UTC)[reply]
Certainly the templates should be responsible for static text, but the fact than many editors are adding this manually is evidence of demand. If the change were made to the templates, a bot would be needed to remove these manual annotations. Kanguole 11:30, 18 April 2017 (UTC)[reply]
Perhaps you know how many editors are actually adding manual annotations? I don't. This insource: search pattern, insource:/\| *editor[^=]*=[^\|\}]+[,;\.]? +\(?ed/ found 1130 matches – ymmv; insource: searches are not always consistent or reliable. I suppose, as a first step, we might add a test similar to the tests that populate Category:CS1 maint: Extra text (maybe into its own subcategory) and so gain more knowledge of the extent of this issue. Such tests don't indicate much about 'demand'; only that editors have in the past misused the editor parameters.
Out of curiosity, I changed the insource: search pattern to look at three of the author parameters:
|author[\ds]*=: 1728
|last[\d]*=: 428
|first[\d]*=: 2208
so perhaps if we are to make a test for the editor parameters, we should do the same for the author parameters.
Trappist the monk (talk) 12:33, 18 April 2017 (UTC)[reply]
@Trappist the monk: I would prefer to not use a colon. TCMOS handles book chapters like this: "Kelly, John D. “Seeing Red: Mao Fetishism, Pax Americana, and the Moral Economy of War.” In Anthropology and Global Counterinsurgency, edited by John D. Kelly, Beatrice Jauregui, Sean T. Mitchell, and Jeremy Walton, 67–83. Chicago: University of Chicago Press, 2010." Ed [talk] [majestic titan] 03:06, 19 April 2017 (UTC)[reply]
cs1|2 is not Chicago; is not MLA; is not APA; nor any other published style. It is bits, pieces, and parts from all of these and from none of these. Chicago's choice to style chapters in edited works in the manner you illustrate does not obligate cs1|2 to do the same.
Trappist the monk (talk) 09:53, 19 April 2017 (UTC)[reply]
@Trappist the monk: Of course it's not, I was just giving an alternative example because I think the colon looks terrible. ;-) Ed [talk] [majestic titan] 14:18, 20 April 2017 (UTC)[reply]
[B]ecause I think the colon looks terrible seems a rather insubstantial reason for opposition. I'm no grammarian so there may be more substantive grammatical reasons why we should not use the colon to introduce the title at the end of the editor list. I suppose that my preference for the colon stems from the use of the full stop (cs1) or comma (cs2) at the end of the editor list when introducing the title so perhaps an alternate is no punctuation:
In Editor Name. Title – as the templates render cs1 now
in Editor Name, Title – as the templates render cs2 now
In Editor Name: Title – cs1 with a colon
in Editor Name: Title – cs2 with a colon
In Editor Name Title – cs1 without punctuation
in Editor Name Title – cs2 without punctuation
Trappist the monk (talk) 16:36, 20 April 2017 (UTC)[reply]
The colon would be inconsistent with how we cite the book alone. We should reconsider all those period separators in cs1, but that can be separate from the issue of flagging editors. Kanguole 15:24, 20 April 2017 (UTC)[reply]
How would the colon be inconsistent with how we cite the book alone?
Trappist the monk (talk) 16:36, 20 April 2017 (UTC)[reply]
There is no colon in
  • Editor, Ann (ed.). Edited book. {{cite book}}: |editor-last= has generic name (help)
Kanguole 17:45, 20 April 2017 (UTC)[reply]
The author-editor-chapter-title rendering:
Author. "Chapter". In Editor (ed.). Title. {{cite book}}: |author= has generic name (help)
is different from author-editor-title rendering:
Author. Editor (ed.). Title. {{cite book}}: |author= has generic name (help)
is different from editor-title rendering:
Editor (ed.). Title. {{cite book}}: |editor= has generic name (help)
so dismissing the use of a colon based on inconsistency doesn't seem very persuasive.
Trappist the monk (talk) 19:01, 20 April 2017 (UTC)[reply]
Then let's fix the inconsistency, by changing these to
  • Author. "Chapter". In Editor (ed.). Title.
  • Author. Editor (ed.). Title.
  • Editor (ed.). Title.
Kanguole 19:25, 20 April 2017 (UTC)[reply]
In general, I would not be opposed to such a fix. Yet, 'In Editor (ed.).' seems like a sentence fragment to me (it isn't in cs2 where it would be rendered as 'in Editor (ed.), ...').
But, if we're going to fix editor rendering, we should also address the two different cases of author, editor, chapter, title. In the first case, Author is the author of Title which has been edited by Editor. We do not currently support this style. Perhaps this case could be rendered in one of these ways:
Author. Editor (ed.). "Chapter". Title.
Author. "Chapter". Title. Editor (ed.).
some other way?
In the second case, Author is the author of "Chapter" in Title which is an anthology or compilation of chapters edited by Editor. We support this case now:
Author. "Chapter". In Editor (ed.). Title.
How do we instruct the templates to distinguish between the two? Here is some previous discussion.
Trappist the monk (talk) 10:43, 21 April 2017 (UTC)[reply]
If Author is the author of Title, which has been edited by Editor, then Title is the work that is cited, and |chapter= should not be set. But if we were citing a part of the book written by someone else, we'd use |contributor= in addition to the author and editor. Kanguole 11:17, 21 April 2017 (UTC)[reply]
Wishful thinking on your part methinks. You know that Wikipedia editors can and will cite "Chapter" in Author's Title. Nothing in the cs1|2 documentation proscribes such citations. No doubt there are a bazillion such cites in the wild.
Trappist the monk (talk) 11:45, 21 April 2017 (UTC)[reply]
In answer to my own question on how to instruct the templates to distinguish between the two styles of author, editor, chapter, title citations, we might deprecate and then re-purpose |in=. This parameter is a rarely used alias of |language=.
Trappist the monk (talk) 14:23, 21 April 2017 (UTC)[reply]
We should not be adding parameters to support unjustified new usages. Kanguole 14:57, 21 April 2017 (UTC)[reply]

While I was cleaning out Category:Pages containing cite templates with deprecated parameters I saw a lot of misused |author= and |editor= parameters where editors had added inappropriate annotations. That experience and this discussion were the impetus to add name checks to the Module sandbox. I have added code that detects a variety of editor annotations that occur at the end of values assigned to author, contributor, interviewer, editor, and translator names. Still to do is similar annotations that occur at the begining of the name value. For examples see my sandbox: Special:Permalink/776334484

Trappist the monk (talk) 11:18, 20 April 2017 (UTC)[reply]

Looks good. I tested a few more cases where the author or editor's first name was "Ed" (short for Edward), and none of them gave me an error, even when I formatted them in slightly incorrect ways. – Jonesey95 (talk) 12:35, 20 April 2017 (UTC)[reply]

Added checks for annotation that precedes a name. See Special:Permalink/776493274. Are there other variants of inappropriate editor annotation that I've missed? Do these tests catch things that they should not catch?

Trappist the monk (talk) 10:43, 21 April 2017 (UTC)[reply]

related bug fix

There is a minor rendering bug in the live module that inserts extra punctuation between <author list> and <editor list> when |contributor= is set and |date= is not set. Fixed, I think in the sandbox:

Cite book comparison
Wikitext {{cite book|author=<author list>|contribution=Preface|contributor=<contributor list>|editor=<editor list>|title=Title}}
Live <contributor list>. Preface. Title. By <author list>. <editor list> (ed.). {{cite book}}: |author= has generic name (help)
Sandbox <contributor list>. Preface. Title. By <author list>. <editor list> (ed.). {{cite book}}: |author= has generic name (help)

Trappist the monk (talk) 11:14, 18 April 2017 (UTC)[reply]

Weird placement of |language= with Template:Cite Journal

Hey, I was just wondering why the |language= gets displayed between |journal= and |volume=. The |language= describes the language of the article (i.e., what |title= describes) not the entire journal, so I would imagine it to be either near the title of the article or somehow modifying the entire citation. Right now it makes it seem like the entire series of a journal is in whatever language instead of just the article under discussion, which is quite often not the case as there are multi-language journals. For a concrete example, see below, which suggests to me at least the entire journal Africa is in German instead of just the article by Lukas, especially as there's no punctuation separation between |journal= and |language=:

Lukas, J. (1938). "The Phonetic Structure of Somali by E. Lilias Armstrong". Review of Books. Africa: Journal of the International African Institute (in German). 11 (1): 121–122. JSTOR 1155231.

Is there a reason for this, or am I missing something obvious? This just doesn't seem to be super clear for a reader. Umimmak (talk) 14:43, 21 April 2017 (UTC)[reply]

This occurs for most of the citation templates which might have a sub-work unit (notably, websites, encyclopedias, and so-forth, and even contributions to some books which might be in language X versus the book's Y). I can't recall having seen a discussion regarding the topic since the module-ization of the templates. I agree it is somewhat confusing. There might be some desire to deprecate language in favor of e.g. |work-language... OTOH, I'm not entirely sure why we indicate the language at all. I suppose it might prevent someone from spending time finding a document were they to know they could not read the language of that document, but I wonder if that isn't (usually) immediately obvious when the title is in a certain language. --Izno (talk) 15:01, 21 April 2017 (UTC)[reply]
@Izno: "I wonder if that isn't (usually) immediately obvious when the title is in a certain language" — well in the example I have above, |title=, |department=, and |journal= all don't suggest the article would be in anything other than English, and the JSTOR link doesn't provide a preview for this work unless you log into your account/have access. I agree, though, that it probably isn't necessary to add the language a work is written in; I just thought that all non-English sources had to be explicitly tagged since otherwise sources are assumed to be English and that's why | [or rather |language=en ] doesn't show up (although there certainly are times when the |journal= would suggest a work would not be in English and the |title= is of no help. Umimmak (talk) 15:25, 21 April 2017 (UTC)[reply]
Yes, the language note would make more sense immediately following the title of the work cited. I don't see a need for a parameter to indicate the language of a containing book or journal, though. Kanguole 15:20, 21 April 2017 (UTC)[reply]
Or maybe after |trans-title=? Especially since any |url= would be linked to by |title= and |trans-title= combined, see, e.g.:
"Engelsche vacantieleergangen" [English vacation courses] (PDF). Kroniek. Leuvensche Bijdragen (in Dutch). 13 (1–2): 134. 1921.
But I definitely agree that only one tag for language is needed; I can maybe understand why a reader might want to know the language of the actual source, but I don't know why it would be necessary to know all the languages in a given book/journal/encyclopedia/whatever. Umimmak (talk) 15:31, 21 April 2017 (UTC)[reply]
Trans-title is not linked in the sandbox. The same in the sandbox: "Engelsche vacantieleergangen" [English vacation courses] (PDF). Kroniek. Leuvensche Bijdragen (in Dutch). 13 (1–2): 134. 1921. --Izno (talk) 15:50, 21 April 2017 (UTC)[reply]
Sorry, @Izno: I'm confused what you're getting at. Does my citation not display as:
"Engelsche vacantieleergangen" [English vacation courses] (PDF)
That's how it looks for me in articles as well as my sandbox. Umimmak (talk) 16:29, 21 April 2017 (UTC)[reply]
Not in your sandbox--the template's sandbox. It was a note to indicate that trans-title is not linked in the sandbox, since you made the comment Especially since any |url= would be linked to by |title= and |trans-title= combined. --Izno (talk) 16:33, 21 April 2017 (UTC)[reply]
Oh, weird that it would be formatted differently when it's actually used an article as compared to when you're looking at it in a sandbox. Strange. Umimmak (talk) 16:44, 21 April 2017 (UTC)[reply]
You misunderstand. The cs1|2 templates use Module:Citation/CS1 and related modules to render citations. Changes to those modules are made first in the sandbox versions (Module:Citation/CS1/sandbox ...) before they are made to the live versions. Editor Izno's example of your citation (without |trans-title= linked) used the module's sandbox by calling {{cite journal/new}}. All of the cs1|2 templates have a '/new' version so that changes to the module sandboxen can be evaluated. The '/new' versions of the template are not for use in article space. At the next module update from sandbox to live, |trans-title= will no longer be linked anywhere on en.wiki.
Trappist the monk (talk) 17:06, 21 April 2017 (UTC)[reply]
Oooohhh, I see; I didn't realize there was already a to-be-implemented change for how |trans-title= gets linked (or rather doesn't get linked). Thanks for clarifying. (Can you tell I'm new to this, haha).
[Quick-edit, but wait, it's still weird that the PDF icon is separated from (PDF) by the title translation, looking at the sandbox version in Izno's example, no?] Umimmak (talk) 17:21, 21 April 2017 (UTC)[reply]
Not clear to me that changing the rendering so that the file format annotation flollow the link but precedes the translated title is any better:
"Engelsche vacantieleergangen" (PDF) [English vacation courses]
Trappist the monk (talk) 17:44, 21 April 2017 (UTC)[reply]

Update?

I'll start a new section on this, since TTM's post about it got lost: It's been nearly 6 months since our previous release. Maybe we should update the module soon? --Izno (talk) 15:52, 21 April 2017 (UTC)[reply]

Not lost. See my last post in this discussion. Upon the death of |coauthor(s)= the plan was (and still is) to announce an update to the live module this weekend with the update to follow a week later as it normally does.
Trappist the monk (talk) 16:27, 21 April 2017 (UTC)[reply]
Let's make sure Help_talk:Citation_Style_1/Archive_31#Category:CS1_errors:_SSRN gets in then. I did a lot of SSRN-related cleanup, and the category would be useful to get mistakes I've made / bad SSRNs. Headbomb {t · c · p · b} 17:01, 21 April 2017 (UTC)[reply]
I just sent an e-mail to the SSRN folks to ask if they have a spec for their ID. – Jonesey95 (talk) 21:07, 21 April 2017 (UTC)[reply]

I chose ssrn limits to be 100 and 3 million. This insource: search pattern, insource:/\| *ssrn *= *294[0-9]{4,}/i, finds one use in the 2,940,000–2,949,999 range (2940297). That would suggest that the 3 million upper limit is sufficient for the time being.

Trappist the monk (talk) 22:30, 21 April 2017 (UTC)[reply]

update to the live cs1|2 module weekend of 29–30 April 2017

I expect to update the live cs1|2 modules on the weekend of 29–30 April. Changes since the last update are:

to Module:Citation/CS1:

  1. override mw:Extension:CLDR language definition for code bn; (discussion)
  2. remove support for special {{cite interview}} parameters; (discussion)
  3. fix spacing oddity in maint cat messaging; (discussion)
  4. fix multi-byte character |vauthors= bug; (discussion)
  5. detect and alert on wayback machine deprecated liveweb host name; (discussion)
  6. move transtitle out of external link; (discussion)
  7. access signal lock images per RFC; (discussion)
  8. remove duplicate lock image code; (discussion)
  9. replace cite arxiv unsupported parameter test with list of supported in whitelist; (discussion)
  10. support for cite biorxiv and cite citeseerx; (discussion)
  11. remove support for coauthor and coauthors; (discussion)
  12. extra punctuation bug fix; (discussion)

to Module:Citation/CS1/Configuration:

  1. remove cite interview special parameters;
  2. add Burmese language script-title code;
  3. access signal lock images per RFC;
  4. remove duplicate lock image code;
  5. remove support for coauthor and coauthors;
  6. add ssrn validation; (discussion)
  7. drop the dx. in //dx.doi.org/... (discussion)

to Module:Citation/CS1/Whitelist

  1. removed cite interview special parameters;
  2. 2017-03-26: support for cite biorxiv and cite citeseerx;
  3. remove support for coauthor and coauthors;

to Module:Citation/CS1/Identifiers

  1. remove duplicate lock image code;
  2. add ssrn validation;
  3. modify PMC error check to allow "PMC" identifier prefix; (discussion)

to Module:Citation/CS1/COinS

  1. support for cite biorxiv and cite citeseerx;

Trappist the monk (talk) 11:11, 22 April 2017 (UTC)[reply]

Would it be possible to change the yellow/blue lock to the grey lock? No one was really happy with either color, the commnunity was evenly split, and grey pretty much addresses everyone's concerns. I'd rather avoid a lengthy RFC on the issue for such a simple and IMO reasonable change. Headbomb {t · c · p · b} 11:19, 22 April 2017 (UTC)[reply]
I don't think it appropriate to disregard the outcome of an RFC. The community uses RFCs as an accepted method for making considered decisions. To hold an RFC and then disregard the decision essentially renders the process meaningless. You invoked the last RFC; you can invoke another.
Trappist the monk (talk) 12:27, 22 April 2017 (UTC)[reply]
It's not disregarding the decision, the !vote was split 50-50 with very few people being 100% happy with either option. But I suppose we can hold another RFC on it. Headbomb {t · c · p · b} 14:10, 22 April 2017 (UTC)[reply]

Access lock RFC follow up:

The visual design RFC for the access locks concluded with an essentially 50-50 split community on the colour of the "free with conditions" lock (yellow vs blue). This RFC is to investigate support for a third option (grey). Headbomb {t · c · p · b} 14:55, 22 April 2017 (UTC)[reply]

Options

The paste options were 1&2

1) Green/Yellow/Red: / /

People who supported this cited the intuitiveness of the traffic light colour scheme, people who opposed it mostly cited the yellow not being very yellow, and the colourblind-friendlier blue.

2) Green/Blue/Red: / /

People who supported this cited the yellow not being very yellow in the previous scheme, and the colourblind-friendlier blue. People who opposed this cited the lack of a recognizable colour scheme of any sort. It also tends to get lost in a sea of blue. This had marginally more support (1 more !vote out of 22 or so).

However, late in the RFC, an alternate colour scheme was proposed as an alternative and garnered some support, but it was too late in the RFC to be introduced an option. Let's consider it now.

3) Green/Grey/Red: / /

This has neither drawback of schemes 1 & 2. Green/Grey/Red is an intuitive colour scheme, is just as colourblind friendly as Green/Blue/Red, and doesn't get as lost in the sea of blue as the blue one does. I'd have included arguments against grey, but I know of none.

Basically, how this would look is something like

  1. Romaine, M.; Zatz, S.; Brown, K.; Lundberg, G.D. (2009). "So long but not farewell: The Medscape Journal of Medicine (1999-2009)"Free registration required. Medscape Journal of Medicine. 11 (1): 33. Retrieved 21 February 2009.
  2. Romaine, M.; Zatz, S.; Brown, K.; Lundberg, G.D. (2009). "So long but not farewell: The Medscape Journal of Medicine (1999-2009)"Free registration required. Medscape Journal of Medicine. 11 (1): 33. Retrieved 21 February 2009.
  3. Romaine, M.; Zatz, S.; Brown, K.; Lundberg, G.D. (2009). "So long but not farewell: The Medscape Journal of Medicine (1999-2009)"Free registration required. Medscape Journal of Medicine. 11 (1): 33. Retrieved 21 February 2009.

!Vote

Support #3 as proposer. Headbomb {t · c · p · b} 14:55, 22 April 2017 (UTC)[reply]

Oppose all. See below. – Finnusertop (talkcontribs) 01:46, 6 May 2017 (UTC)[reply]

A pointless !vote, given that's not one of the options at the moment, which will mostly means blue will stay for now. Headbomb {t · c · p · b} 02:02, 6 May 2017 (UTC)[reply]

Discussion

I do not know whether this is the proper procedure, considering that the referenced RFC was submitted at a much better attended forum. At best, imo whatever discussion results here, should be used to stage a proper RFC at the proper forum. Especially since the original RFC seems inconclusive on the related issues. 65.88.88.126 (talk) 20:56, 22 April 2017 (UTC)[reply]

The former RFC also had a much wider scope. This is listed and advertised at both Wikipedia:Requests for comment/Wikipedia technical issues and templates and Wikipedia:Requests for comment/Wikipedia style and naming, as well as through the Wikipedia:Feedback request service. Feel free to post neutrally worded notices in other places you deem relevant. Headbomb {t · c · p · b} 21:42, 22 April 2017 (UTC)[reply]
Notifying WP:FRS isn't necessary, the presence of {{rfc}} attracts the attention of Legobot (talk · contribs) which (based upon its table of open RfCs) sends out the FRS messages to user talk pages. --Redrose64 🌹 (talk) 23:49, 22 April 2017 (UTC)[reply]
Hence why I said advertised through, not at. Headbomb {t · c · p · b} 23:58, 22 April 2017 (UTC)[reply]
My opinion: Regardless of which color you use for it, the middle symbol is unrecognizable as a lock or as anything else. Maybe it is a fountain with a two-tone base? Maybe it is a spray bottle? Maybe it is a necklace with a big pendant? It is just visual clutter rather than useful information. —David Eppstein (talk) 18:23, 23 April 2017 (UTC)[reply]
Well, that's the appearance that got settled on in that RFC. Personally I would have gone with this shape. But let's focus on the color for now, shall we? Headbomb {t · c · p · b} 19:04, 23 April 2017 (UTC)[reply]
The choices are puke, lost-in-a-sea-of-blue, or blander-than-bland. None are worth advocating. —David Eppstein (talk) 22:00, 23 April 2017 (UTC)[reply]
Lack of choice likely means keeping blue. Headbomb {t · c · p · b} 22:11, 23 April 2017 (UTC)[reply]
I have to agree with David Eppstein. None of these designs do their job particularly well and all are eyesores. – Finnusertop (talkcontribs) 01:46, 6 May 2017 (UTC)[reply]

Minor tweak to doi.org links

https://www.crossref.org/display-guidelines/ suggests that we link to https://doi.org/10.nnnn/xxx.xxx, dropping the "dx." portion of the fully qualified domain name. I suggest that we make this minor, non-urgent change to the Module sandbox after this weekend's update. – Jonesey95 (talk) 22:28, 25 April 2017 (UTC)[reply]

Why not now? No reason to delay this till the next update.Headbomb {t · c · p · b} 05:13, 26 April 2017 (UTC)[reply]
Done. Headbomb {t · c · p · b} 05:22, 26 April 2017 (UTC)[reply]
I suggested doing it later because we should be in a freeze period before deployment, we haven't done any testing yet, and this module is used in millions of pages. Also, the change is not urgent. – Jonesey95 (talk) 13:38, 26 April 2017 (UTC)[reply]
OTOH, the change is simple and we have no evidence now nor will have any in the immediate future to suggest that doi.org is worse than dx.doi.org without such testing as is untenable. I see no problem with this change here. --Izno (talk) 13:46, 26 April 2017 (UTC)[reply]
There's many a slip 'twixt the cup and the lip. EEng 13:49, 26 April 2017 (UTC)[reply]

Location for cite speech ambiguous

I'm looking at Template:Cite speech/doc and it seems to me that the location parameter is ambiguous in meaning. I believe Module:Citation/CS1 understands it as the place of publication, but one of the examples given is this:

Last, First (April 1, 2000). Title (Speech). Event. Location.

On the one hand, I suppose I'm requesting that the documentation be clarified. On the other, I wonder if Module:Citation/CS1 needs to be updated to be able to include the actual location of the speech and event, which seems like an appropriate thing to include in a citation for an unpublished speech, if not for all speeches. Sondra.kinsey (talk) 23:09, 28 April 2017 (UTC) PS. Please use {{reply to}}; I don't watch this page.[reply]

Unpublished sources, including speeches, may not be cited. Published speeches (in any medium) should follow the style guideline, which considers "location" as preferably, the (speech) publisher's location, and as a secondary choice the location where the work (speech) was produced. 64.134.66.143 (talk) 12:12, 29 April 2017 (UTC)[reply]
It might not be documented (very well), but there is both a |publication-place= and a |location=. Cite speech might reasonably make use of both. That said, you should WP:SAYWHEREYOUGOTIT--so I am not entirely sure about your use case. Maybe you can provide the specific citation you have in mind. --Izno (talk) 13:08, 29 April 2017 (UTC)[reply]

lingering deprecated parameters

This discussion begat this series of edits to Module:Citation/CS1/Whitelist/sandbox wherein |ARXIV= and |BIBCODE= were deprecated. Those changes went live on 29 October 2016. In the interim I think that support for the now long-deprecated parameters should have been removed from the whitelist sandbox and from Module:Citation/CS1/Configuration/sandbox. That did not happen.

Rather than add these parameters to the help documentation (they never were) and wait for the next update and because they do not appear be in use anywhere (none were in Category:Pages containing cite templates with deprecated parameters‎ at the time that it was emptied), without objection, tomorrow I shall mark them as unsupported in Module:Citation/CS1/Whitelist and Module:Citation/CS1/Configuration.

We still have |version= marked as deprecated when it is used with {{cite arxiv}} (deprecated since 25 July 2015). This too, I shall mark as unsupported in Module:Citation/CS1/Whitelist. More complex changes to Module:Citation/CS1 are also needed but can be deferred to the next update.

Trappist the monk (talk) 13:03, 29 April 2017 (UTC)[reply]

Great! I support all these changes. Thank you so much for your work. − Pintoch (talk) 13:40, 29 April 2017 (UTC)[reply]

Done. The changes to Module:Citation/CS1 were not so complex as I imagined so that has been done also.

Trappist the monk (talk) 09:44, 30 April 2017 (UTC)[reply]

|title=Archived copy

Can a new maintenance category be created (and coded into Module:citation/CS1) for when Archived copy is used as a title in a cite-template? Currently we have 38 000+ articles (insource:/\|title\=Archived copy/), and I bet that not a single one of them should use that as a title. (tJosve05a (c) 14:48, 29 April 2017 (UTC)[reply]

And another could be finding |work=Wayback Machine & |work=Wayback Machine --(tJosve05a (c) 15:16, 29 April 2017 (UTC)[reply]
This looks like it was caused by IABot. @Cyberpower678: Can you let us know whether it's still occurring, whether it's a bug in the bot or something wrong in the IA API, and whether it might be possible to get IABot re-run on these articles? --Izno (talk) 17:09, 3 May 2017 (UTC)[reply]
Yes, it is IABot that is the culprit in this case. The reason here though is deeper: IABot changed the citation format of the references in question from free-form to scripted (templated). Since the "title" in free-form citations is not easily parsed by machines, it made the default substitution |title=Archived copy. 72.43.99.146 (talk) 12:44, 4 May 2017 (UTC)[reply]

CS1 errors in the "How the templates work" section

Presumably, the CS1 errors in the "How the templates work" section were unintended and undesired. Here, I've removed the |date=Date part of the wikitext for the example citations to get rid of them. Improve as needed, please. Wtmitchell (talk) (earlier Boracay Bill) 02:24, 30 April 2017 (UTC)[reply]

There were actually intentional, and it would be unfortunate to completely remove any date indication there because the date does shift positions and formatting depending on the presence or absence of author parameters. So to show something, I used |date=n.d. and added a note below the examples. That may need refinement though. Imzadi 1979  05:13, 30 April 2017 (UTC)[reply]
Next time you might want to use a <! -- comment --> to explain. EEng 05:48, 30 April 2017 (UTC)[reply]

Remove category "CS1 errors: coauthors without author"

Now that |coauthors= is unsupported, we should be able to delete Category:CS1 errors: coauthors without author‎, I believe. Do we need code changes to the module, or can we just delete the category? – Jonesey95 (talk) 13:38, 30 April 2017 (UTC)[reply]

redlink now.
Trappist the monk (talk) 14:00, 30 April 2017 (UTC)[reply]
Perfect. Thanks. – Jonesey95 (talk) 14:38, 30 April 2017 (UTC)[reply]

Parameters first1 on Commons template

The template commons:Template:Cite_journal on Wikimedia Commons does not have implemented parameters first1= |last1= |first2= |last2= etc. commons:Template talk:Cite journal#Parameters. Could you improve it, please? This is crucial for proper referencing of images. Thanks. --Snek01 (talk) 18:51, 1 May 2017 (UTC)[reply]

What Commons do with their templates is, broadly speaking, not our concern. Have you raised the issue at c:Template talk:Cite journal? --Redrose64 🌹 (talk) 20:55, 1 May 2017 (UTC)[reply]
Yes, see the link above. --Snek01 (talk) 21:53, 1 May 2017 (UTC)[reply]

metadata bug

There is a metadata bug. Somehow, some of the multiple bytes of unicode characters outside of the ascii character set are not all included in the metadata:

{{cite book |title=Я}}

produces this metadata for the title:

&rft.btitle=%D0%AF – correct

and:

{{cite book |title=ש}}
&rft.btitle=%D7%A9 – correct

but:

{{cite book |title=魂}}
&rft.btitle=%E9%82 – should be: %E9%AD%82

and:

{{cite book |title=–}}
&rft.btitle=%93 – should be: %E2%80%93

From these simple examples, it would appear that something is buggering up three-byte unicode percent encoding. This problem was apparently noticed just after the 29–30 April 2017 update to the live module suite. I am at a loss to explain this problem as a result of the changes that were incorporated in the update. So, I have reverted the sandboxen to the last live version before the update. Let me repeat that:

the current sandboxen DO NOT currently contain the next version of the live CS1 modules. Except in search of an answer to this issue, changes should not be made to the CS1 modules.

After reverting to the last live version, the simple tests above produce the same results.

The modules use the function mw.uri.encode() to percent-encode metadata and also to encode identifiers like |doi=. If I make up a doi with a character that doesn't work in the metadata, the doi link is encoded correctly:

{{cite book/new |title=Title |doi=10.1234/.魂}}
//dx.doi.org/10.1234%2F.%E9%AD%82

From all of this, I know that the problem has been with us for some time and that the problem appears to be confined to the metadata. Now it is just a matter of locating it.

Trappist the monk (talk) 15:19, 2 May 2017 (UTC)[reply]

fixed. This line:
value = value:gsub ('[\226\128\141\226\128\139\194\173]', '')
changed to this:
value = mw.ustring.gsub (value, '[\226\128\141\226\128\139\194\173]', '');
The purpose of this line is to remove invisible characters zero-width joiner and zero-width space, and the soft hyphen because these characters are pointless in the metadata. Because these characters are invisible, the code writes out their individual decimal byte values: \226\128\141 for zero-width joiner, etc.
The problem arises because value:gsub() operates on bytes, not characters. When value is an en dash, its byte values are \226\128\93. In the original version, value:gsub() finds both the \226 and the \128 bytes and removes them leaving the \147 which is later percent encoded to %93. Similarly, 魂 has byte values of \233\173\130, value:gsub() finds and removes the \173 leaving behind \233\130 which percent encodes to %E9%82.
The new version treats the characters as characters.
I have fixed this bug in the live version and restored the sandboxen.
{{cite book |title=魂}}
'"`UNIQ--templatestyles-0000005B-QINU`"'<cite class="citation book cs1">''魂''.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=%E9%AD%82&rfr_id=info%3Asid%2Fen.wikipedia.org%3AHelp+talk%3ACitation+Style+1" class="Z3988"></span>
Trappist the monk (talk) 17:06, 2 May 2017 (UTC)[reply]
Good catch. Checking the modules for other unicode-related possible ommissions/incompatibilities might be a good idea. 65.88.88.127 (talk) 18:25, 2 May 2017 (UTC)[reply]
Two things. The first, boxes is the plural of box, not boxen. You may enjoy using non-standard plurals, but this is confusing to people, especially those that wouldn't know oxen is the plural of ox. The second, there are lots of 'value:gsub' around that line of code you've updated. Should those be updated as well? Headbomb {t · c · p · b} 18:31, 2 May 2017 (UTC)[reply]
The lines of code most similar to the offending line are:
  1. value = value:gsub ('\226\128\138', ' ');
  2. value = value:gsub ('[\009\010\013]', ' ');
In the first of these the pattern is a string of bytes so value must match exactly. In the second, like regex, the pattern is a set of three individual bytes so will match with any of the three single-byte characters horizontal tab, line feed, or carriage return.
Trappist the monk (talk) 19:35, 2 May 2017 (UTC)[reply]
Boxen is a harmless and amusing hacker in-joke; I have no problem with it here (on a talk page) although I wouldn't use it in article-space of course. And thanks, Trappist the monk, for catching and fixing this! —David Eppstein (talk) 18:42, 2 May 2017 (UTC)[reply]
Credit for the discovery of this error belongs to Editor Silas S. Brown who reported it here.
Trappist the monk (talk) 19:35, 2 May 2017 (UTC)[reply]

Re: "boxen". Yes, a hacker in-joke, but it has appeared in a headline in a reliable source at least once. It appears in article space with an explanation in a few places, and there's Pizza boxen (a redirect); I agree with David Eppstein that it should not be used casually in article space. – Jonesey95 (talk) 20:22, 2 May 2017 (UTC)[reply]

Table overflow bug

When User:SpikeToronto recently made this edit and many similar ones, trying to improve the table format for iPads, it actually broke the format for an ordinary Chrome browser on a Windows laptop. For example, unless the browser window is extremely wide, the right side of the table in Template:Cite book/doc#TemplateData gets truncated, cutting off words and the column-sort arrows, with no horizontal scrollbar to reach the truncated content. Is there a way to make these tables work properly on both types of devices? —Patrug (talk) 07:22, 3 May 2017 (UTC)[reply]

This is not a cs1|2 bug. That TemplateData table is imposed on us by the developers of Visual editor. If Editor SpikeToronto's edit doesn't work here then likely it doesn't work elsewhere. You might try discussing this issue with Editor Bermicourt who is apparently the author of {{TemplateData}} which, I gather has the job of rendering the TemplateData table.
Trappist the monk (talk) 08:29, 3 May 2017 (UTC)[reply]
Good info, thanks. Let's see if SpikeToronto can shed any light on the situation, and why these edits were "required" for iPads. —Patrug (talk) 09:58, 3 May 2017 (UTC)[reply]
Not so good info, actually. {{TemplateData}} doesn't have the job of rendering the TemplateData table.
Trappist the monk (talk) 10:12, 3 May 2017 (UTC)[reply]
One observation: there is a wider problem with the rendering of tables on mobile devices, so this may not even be strictly a <templatedata> issue. My past experience has been that you have to tap/drag at the screen edge to see the hidden info. Other than that, as Trappist mentioned, this is not the right forum. 65.88.88.126 (talk) 15:49, 3 May 2017 (UTC)[reply]
Patrug, WP:VPT is probably a better forum for this question. I get the same results on Chrome for Windows, FWIW. – Jonesey95 (talk) 17:07, 3 May 2017 (UTC)[reply]

How do I do multiple quotes

I recently had a FAR where a user pointed out I was using a Japanese book and that I needed to provide both the original Japanese prose of the book's information and the English translation. Would it be "quote=Japanese and trans_quote=English"? Regards,Tintor2 (talk) 00:08, 5 May 2017 (UTC)[reply]

I think that the method that you suggest is inconsistent with how cs1|2 handle translations in titles and chapters. Perhaps:
|quote=Japanese quote</q> <q>[English quote] – the </q> <q> are used here because the quotation marks around |quote= are formed that way
"Title" [Trans title]. Japanese quote. [English quote.]
Trappist the monk (talk) 00:32, 5 May 2017 (UTC)[reply]
I'm giving it my first try here. Is it correct?Tintor2 (talk) 01:09, 5 May 2017 (UTC)[reply]
Mostly. The transition between the original language and the English translation should be:
... ています</q> <q>[Hoshino: Guess ...
The </q> following the original language quote closes the opening <q> provided by the template. Similarly, the <q> preceding the English translation matches the closing </q> provided by the template. And thus, all is in balance.
Trappist the monk (talk) 10:13, 5 May 2017 (UTC)[reply]
Sorry, but that's quirky... Such tags should be dealt with by the template internally.
I too suggest(ed) to add a |trans-quote= parameter (some while ago). This would be following the basic principle to keep different types of contents in different parameters.
With two parameters |quote= and |trans-quote= we'd be free to change the output format whenever this might become necessary in the future, even depending on settings or target devices. We might even suppress the translation if it would not be desired in a certain context. Example:
... |quote=Japanese quote |trans-quote=English quote ...
for either
"Title" [Trans title]. "Japanese quote" "[English quote]"
or
"Title" [Trans title]. "Japanese quote [English quote]"
--Matthiaspaul (talk) 22:49, 5 May 2017 (UTC)[reply]
Neither the original text nor the translation really bear on the citation of the source. Where there is a comment on a source that should follow the citation. E..g.:
<ref>{{citation|...}}. "ています" is translated [by whom?] as "Hoshino: ...".</ref>
There's no need to introduce entirely extraneous material into the citation template. ~ J. Johnson (JJ) (talk) 23:54, 5 May 2017 (UTC)[reply]
I gave it a try but trans-quote is not working.Tintor2 (talk) 00:17, 6 May 2017 (UTC)[reply]
There is not |trans-quote= parameter which explains why it did not work.
Trappist the monk (talk) 12:31, 6 May 2017 (UTC)[reply]
I think that Editor J. Johnson and I may actually be in agreement (at least partially) for once. I have never believed that source quotations belong in a citation. If it is appropriate to quote the source, then put the quote in the article and cite it. Additionally to this particular question, where does the translation come from? If it is from the cited source then there is no need for the Japanese version of the quotation. If it not from the cited source, then the questions of accuracy and reliability and verification come into play. I am minded of this because I recall that these translation questions were recently discussed, in particular about machine translation, but I don't remember where that discussion occurred.
Trappist the monk (talk) 12:31, 6 May 2017 (UTC)[reply]

I agree putting a quotation inside a citation template is probably a bad idea. One reason it's a bad idea is quotations might need all kinds of special stuff to reproduce what's in the source, like a table for instance. Such complex markup would be very likely to break the citation template.

However, I disagree that a quote from a source should either be placed in the running text of the article, or omitted. Most citations in Wikipedia are in the form of an endnote. Endnotes are for details that distract from the point being made in the running text of the article. Such detailed digressions might very well need quotations from the source. Thus, there's nothing wrong with including quotes from the source in a footnote. Jc3s5h (talk) 12:54, 6 May 2017 (UTC)[reply]

I did not write that a source should either be placed in the running text of the article, or omitted; I made no mention of running text. Do not put words into my mouth that I have not spoken. By put the quote in the article and cite it, I simply meant that the quotation, if required, should be placed somewhere other than in the citation itself.
Trappist the monk (talk) 13:44, 6 May 2017 (UTC)[reply]
Anyway, I got this comment here. The third opinion agreed.Tintor2 (talk) 14:22, 6 May 2017 (UTC)[reply]
It is not clear to me just what you mean by third opinion. Clarify?
Trappist the monk (talk) 14:42, 6 May 2017 (UTC)[reply]
I was not sure about using both the Japanese original quote and English at the same time so I went to Wikipedia:Third opinion and asked the third opinion.Tintor2 (talk) 14:48, 6 May 2017 (UTC)[reply]
WhatamIdoing recently suggested a use for |quote= at WT:Verifiability#How does one transparently cite more than one part of an e-book in a single citation?: to provide a short piece of text that can be searched for to locate the section referenced in media such as certain e-books that do not have pagination or other in-source indices. But even that can be handled outside of the template. ~ J. Johnson (JJ) (talk) 20:27, 8 May 2017 (UTC)[reply]
Interesting. If possible ping me whatver happens. I still think the article I withdrew, Yu Kanda, could become a FA.Tintor2 (talk) 21:25, 8 May 2017 (UTC)[reply]

Subtitle?

I can't see a field for a subtitle. Is this a deliberate policy decision or an omission? --Pfold (talk) 11:53, 6 May 2017 (UTC)[reply]

There is no |subtitle= parameter. Most often, if a subtitle is required, it is included in |title= set off from the main title with a colon:
|title=Main Title: Subtitle
I don't know if the lack of |subtitle= is a policy decision or an omission. You might troll through the archives of this page, the talk page archives of the individual templates before they were merged into this page, and the talk page archives for {{citation}}.
Trappist the monk (talk) 12:15, 6 May 2017 (UTC)[reply]

Volume and page parameters being separated in cite encyclopedia

Hi, I was wondering why the volume and page numbers were separated so much in Template:Cite encyclopedia? Right now the volume separated from the pages by the edition, publishing location, and publishing house. Should I be using |at= instead so that the volume of the encyclopedia immediately precedes the page numbers, as in Chicago or APA?

Because right now I think it's unclear to have the volume so far from the pages as in:

Author, A. (2017). "Entry". In Editor, E. (ed.). Title of Encyclopedia. Vol. 3 (2nd ed.). City: Publishing House. pp. 100–102. {{cite encyclopedia}}: |last1= has generic name (help)

I would expect it to be something like:

Author, A. (2017). "Entry". In Editor, E. (ed.). Title of Encyclopedia (2nd ed.). City: Publishing House. Vol. 3, pp. 100–102. {{cite encyclopedia}}: |last1= has generic name (help)

Thanks. Umimmak (talk) 15:39, 8 May 2017 (UTC)[reply]

A primary goal when we integrated all of the old wikitext cs1|2 templates into the new Lua Module:Citation/CS1, was to make the new look like the old. Apparently we were successful with the |volume= / |page(s)= aspect of that integration for {{cite encyclopedia}}:

Cite encyclopedia comparison
Wikitext {{cite encyclopedia|date=2017|edition=2nd|editor-first=E.|editor-last=Editor|encyclopedia=Title of Encyclopedia|first1=A.|last1=Author|location=City|pages=100–102|publisher=Publishing House|title=Entry|volume=3}}
Live Author, A. (2017). "Entry". In Editor, E. (ed.). Title of Encyclopedia. Vol. 3 (2nd ed.). City: Publishing House. pp. 100–102. {{cite encyclopedia}}: |last1= has generic name (help)
Sandbox Author, A. (2017). "Entry". In Editor, E. (ed.). Title of Encyclopedia. Vol. 3 (2nd ed.). City: Publishing House. pp. 100–102. {{cite encyclopedia}}: |last1= has generic name (help)

The rendering of {{cite encyclopedia}} looks much like the rendering of {{cite book}} given similar parameters:

{{cite book |last1=Author|first1=A.|date=2017|chapter=Chapter |title=Title of Book |edition=2nd|editor-last=Editor|editor-first=E.|volume=3|pages=100–102|publisher=Publishing House|location=City}}
Author, A. (2017). "Chapter". In Editor, E. (ed.). Title of Book. Vol. 3 (2nd ed.). City: Publishing House. pp. 100–102. {{cite book}}: |last1= has generic name (help)

If you are concerned, you might research the issue in the archives of this talk page and the archives of the {{cite encyclopedia}} talk page. There may be something there that will explain why the original authors of {{cite encyclopedia}} did what they did. Or not.

Contructs like this:

|at=Vol.&nbsp;3, {{pp.|100|102}}

are discouraged because it introduces volume information into an in-source element of the metadata.

Trappist the monk (talk) 16:15, 8 May 2017 (UTC)[reply]

Can you explain what you mean by that last line, Trappist the monk? What's an "in-source element of the metadata," and why can't you have the volume information there? Thanks. Umimmak (talk) 16:32, 8 May 2017 (UTC)[reply]
These points:
  1. it is the job of the cs1|2 templates to render citations in a consistent manner; cs1|2 have the responsibility for 'under the bonnet' formatting
  2. cs1|2 templates produce COinS metadata so that readers may import citations from Wikipedia via special software
  3. in-source means inside the source: page, paragraph number, etc
It is almost always unnecessary to add special formatting to a templated citation; if special formatting is needed, then the general purpose templates (as cs1|2 templates are) may not be appropriate to the circumstances, in which case, they should not be used and other solutions applied.
The cs1|2 parameters map to similarly named metadata keys. In this particular case, |page=, |pages=, and |at= are in-source location parameters; all map to a key called &rft.pages; volume information does not belong there. There is a cs1|2 parameter specially intended to hold volume information: |volume= which feeds &rft.volume.
Trappist the monk (talk) 17:42, 8 May 2017 (UTC)[reply]
I would say Trappist the monk's comment about in-source location is rooted in the code used to implement the cite templates; the degree to which this applies to actual sources depend on the nature of the source. A particular edition of an encyclopedia is one source, just as all the CDs in a multi-CD music album constitute one source. Ordinarily, these things are all purchased and used together. A volume number is a means of finding the location in the single source, just like the page number. On the other hand, the seven volumes in the Harry Potter series are separate sources, because they were published at different times and are not usually purchased as a set. Jc3s5h (talk) 18:30, 8 May 2017 (UTC)[reply]
Yeah it seems like that volume number is sort of where it would be if it refers to the number within a book series, but as the volume number of a multi-volume work like an encyclopedia is necessary to figure out the location, I'd expect it to be with the other "in-source" parameter like |page=. Umimmak (talk) 20:35, 8 May 2017 (UTC)[reply]

ISBNs in mw:Citoid

Hey All; at the WMF we have been working with OCLC to make ISBN generated citations available, through using their ISBN database. We have deployed the feature on all language Wikipedias: you can learn more about it on the Wikimedia blog. Astinson (WMF) (talk) 19:29, 11 May 2017 (UTC)[reply]

How do we downtrammeled logged-in editors use this without switching to VE? EEng 19:46, 11 May 2017 (UTC)[reply]
@EEng: You are unable presently. If you don't want to visually edit, but are willing to stomach the same kinds of interfaces (and associated Javascript heaviness on edit), you should try the New wikitext mode--you can access the citation tools there. --Izno (talk) 20:34, 11 May 2017 (UTC)[reply]
(edit conflict)@EEng: The mw:2017_wikitext_editor supports this feature as well (I am editing in that editor right now, and use it for most of my non-content editing in my volunteer capacity. I am not sure if there are other gadgets/tools that support Citoid in the older Wikitext editor. @Whatamidoing (WMF): might know. Astinson (WMF) (talk) 20:43, 11 May 2017 (UTC)[reply]
Why can't you give us a {ISBN-to-citebook} template, so we can code something like {subst:ISBN-to-citebook|978-0399594496} and get the same result, without demeaning ourselves by using these toolbars and visual editing and other paraphernalia of the Wikiediting welfare state? This would often require a second edit to clean up what the subst returns, but I for one would be most happy to use facility like that. EEng 20:52, 11 May 2017 (UTC)[reply]
How about me, Astinson (WMF)? Can I have a bug report too? EEng 01:34, 12 May 2017 (UTC)[reply]
@Astinson (WMF): The example citation on your blog post uses YYYY-MM-DD format for the publication date, while most citations on Wikipedia use Month DD, YYYY or DD Month YYYY depending on US/UK variations. To me this suggests that some of us are going to be forced by your change to spend a lot of time making the dates of references added by users of this tool more consistent with the other dates in our articles. Is there any way that you could detect the date format used by an article and use that, please? Also, it appears that for many books, you are using dates like 1993-01-01 where the "01-01" part has no actual meaning (the book was not actually published on January 1) but is instead just a default value for when the date is unknown. Is there some way of preventing your tool from inserting this fake data into our citations? —David Eppstein (talk) 20:28, 11 May 2017 (UTC)[reply]
@David Eppstein: You can use |df= for the first problem, if you don't simply want to use a script such as the one that Ohconfucius provides. The WMF developer team is unwilling to let us get the dates in the format we wish. As for the second problem, using ISO dates allows for ambiguity in the form of 1993-00-00 to indicate that the year is known but not the month nor day, as well as 1993-01-00 to indicate that year and month are known, but not the day--I do not know why they use 01 instead. (It impacts Wikidata too, but I haven't thought to comment there yet.) --Izno (talk) 20:32, 11 May 2017 (UTC)[reply]
(Erm, not quite right regarding the 0s, but the intent is similar: review ISO 8601#Calendar dates.) --Izno (talk) 20:39, 11 May 2017 (UTC)[reply]
1993-00-00 is clearly a nonsense date. But can we not instead use a |year= field, where only the 4-figure year is inserted? -- Ohc ¡digame! 21:50, 11 May 2017 (UTC)[reply]
@Ohconfucius, Izno, and David Eppstein: We filled at bug at phabricator:T165116. I agree: their are going to be very rare occasions when the precision of something tracked via an ISBN has a publication date more precise than a year. Astinson (WMF) (talk) 01:22, 12 May 2017 (UTC)[reply]
In the examples given at the blog, is ISBN 9783161484100. Follow that link through Special:BookSources to WorldCat. Several different titles apparently use that isbn. I would guess that sometimes WorldCat is correct and that this tool may return correct information. But I'm not holding my breath; I've seen a lot of strange stuff in WorldCat listings.
I also notice, as others have pointed out, that the date format is rather incorrect for books which, for the most part are year-only. Further, WorldCat and citoid don't seem to care about extraneous punctuation; Gallery has an extra trailing comma. The Boris citation left out |location=Ljubljana; the Gallery Citation left out both |location= and |publisher=.
Like so many 'magic' tools, I fear that editors will assume that whatever is returned by the tool, because it's a tool, must be correct. It came from a database, right? The machine got the data for me, right? It therefore must be correct, right? I think that there is too much weirdness in WorldCat (akin to the weirdness in Google Books metadata) to make this tool very reliable. Handy perhaps, for those who will massage what the tool returns, but detrimental to the project in the hands of lazy editors.
Trappist the monk (talk) 00:46, 12 May 2017 (UTC)[reply]
It's unfortunate, then, that it is deployed only to the VE users and not to the users who can actually see the template coding to massage it. —David Eppstein (talk) 00:56, 12 May 2017 (UTC)[reply]
Change unfortunate to incompetent and I'll agree with you. I can't think of one thing WMF has done in the 9 years I've been editing that's actually made editing easier. Honestly and truly, the one best thing that's happened is the Thank feature. EEng 01:01, 12 May 2017 (UTC)[reply]
@EEng: The comms tech team and Cyberpower put together the magical archive every URL on a single page tool that just rolled out. You should try it. This diff was cathartic, to be honest. --Izno (talk) 02:21, 12 May 2017 (UTC)[reply]
Well, I tried it, but I can't get it to do anything other than produce some statistics on various articles. Is there some magic button that makes it do something. EEng 02:46, 12 May 2017 (UTC)[reply]
So let's see:
Badly implemented (the date issue), also limiting editor choice
Contravenes established Wikipedia content guidelines (WP:CITEVAR) by limiting the citations to Style 1, also misleading by not pointing this out. This is a problem with Citoid documentation, and examples, in general.
May possibly result in ambiguous citations that editors may accept at face value as correct.
Conclusion: at present, nothing to see here.
72.43.99.146 (talk) 13:50, 12 May 2017 (UTC)[reply]