Jump to content

Help talk:Citation Style 1: Difference between revisions

From cernipedia
m 1 revision imported from wikipedia:Help_talk:Citation_Style_1
 
(No difference)

Latest revision as of 15:33, 9 November 2026

Template:BotsTemplate:Skip to bottomTemplate:Talk header Template:Central Template:WikiProject banner shell User:ClueBot III/ArchiveThis Template:FAQ

Update bibcode URL to SciX

ADS is scheduled to be shutdown on 16 November 2026. It's replacement, SciX, has been available for some time. See Template talk:Bibcode § ADS to SciX migration for details. Template:Edit request In Module:Citation/CS1/Configuration, please replace the line: <syntaxhighlight>prefix = 'https://ui.adsabs.harvard.edu/abs/',</syntaxhighlight> with <syntaxhighlight> prefix = 'https://scixplorer.org/abs/', suffix = '/abstract', </syntaxhighlight> Daask (talk) 17:30, 5 October 2026 (UTC)

This should be done in the sandbox, and deployed with the rest of the changes. So long as it's live before Nov 16th or so. Headbomb {t · c · p · b} 19:26, 5 October 2026 (UTC)
Template:Donetask Implemented in sandbox in Diff/1378836392. Daask (talk) 11:37, 6 October 2026 (UTC)
You should always provide evidence that the changes you make actually work.
—Trappist the monk (talk) 14:32, 7 October 2026 (UTC)
The link seems to work fine, though there is no suffix as ostensibly intended. Tol (talk | contribs) @ 07:21, 17 October 2026 (UTC)
I am removing the suffix = '/abstract' because: Template:Olist Please let me know and/or revert if this is undesirable. Tol (talk | contribs) @ 21:47, 5 November 2026 (UTC)
I just updated the Wikidata Template:Wdp article property with this, but it doesn't look like Scixplorer does a look up for the 5-character ADS journal codes any more for use with the Template:Wdp journal property. — Jonathanischoice (talk) 01:52, 19 October 2026 (UTC)
Template:Ping There's two weeks before this is deployed on the NASA side. Could we get a template update next weekend? Headbomb {t · c · p · b} 20:27, 1 November 2026 (UTC)

Please increase SSRN

Template:Ssrn is valid and found in Trump v. Slaughter. Thanks! Snowman304|talk 00:48, 10 October 2026 (UTC)

I just stumbled upon Template:SSRN, which is also valid but greater than the current CS1 limit. Daask (talk) 20:40, 2 November 2026 (UTC)

Is there a way to suppress ISBN date errors?

The "ISBN / Date incompatibility" error is not always correct. There are books for which later printings of an edition originally from before 1965 were given an ISBN. Using the date of a specific later printing is misleading and unhelpful to readers, but the ISBN is also correct.

An example which recently came up is

Needham, Joseph (1959). Science and Civilisation in China. Volume 3: Mathematics and the Sciences of the Heavens and the Earth. With the collaboration of Wang Ling. Cambridge: University Press.

This edition was originally published in 1959, but had later printings in 1970, 1972, 1975, 1979, 1992, 1995, (...and others?), with no changes to the text. At some point it was given the ISBN 9780521058018 by Cambridge University Press, but if you look at the publisher's website, the publication date is still listed as 1959. –jacobolus (t) 17:12, 17 October 2026 (UTC)

Also, the recommendation at Help:CS1 errors § ISBN / Date incompatibility is completely wrong:
Template:Tqb
This is terrible advice which will cause editors to incorrectly use the data of a specific printing of a book rather than the publication date for the edition. –jacobolus (t) 17:22, 17 October 2026 (UTC)
Reprintings of books often contain silently fixed errors. WP:SAYWHERE applies. – Jonesey95 (talk) 18:00, 20 October 2026 (UTC)
I have never once encountered a case where there was such a change affecting the relevance or correctness of a citation made from Wikipedia. But regardless, the relevant "publication date" remains the date of the edition, and changing the date to a particular printing is confusing, misleading, and unconventional. The immediately following section of WP:CS (§ Dates and reprints) explains: Template:Tqi Anyway, I'll default to just leaving the ISBNs out. –jacobolus (t) 19:04, 20 October 2026 (UTC)
I fixed Help:CS1 errors § ISBN / Date incompatibility so that it follows WP:CS. It can be changed again at such a time as the citation template gains the ability to suppress this error. –jacobolus (t) 19:18, 20 October 2026 (UTC)
I have the same issue as jacobolus; a lot of e-books are assigned isbns but are merely scans of the original book and frequently do not have new dates issued. Could we allow for orig-date without date? Haven't thought it through fully as of yet, but it could work.  Mr.choppers | ✎  19:36, 20 October 2026 (UTC)
Some of these "books" are garbage print-on-demand copies made from a mediocre scan, put out by no-name "publishers". In such a case I'd recommend skipping the ISBN, trying to find the best scan you can of the original (e.g. from the Internet Archive) to link as the 'url' parameter, and citing the original book.
If a facsimile was republished by a reputable publisher, then you can cite the new date, include orig-date with the original publication date, and make a note to readers that it was a republication of a facsimile. –jacobolus (t) 19:44, 20 October 2026 (UTC)
Template:Ping as another interested editor; he created a whole dang table here. I still think allowing orig-date without date should be the simplest solution. I do not have any examples of reputable facsimiles published without new dates at the ready, but I am sure they are out there.  Mr.choppers | ✎  20:18, 20 October 2026 (UTC)
One other option is to add a note like "Later printings {{isbn|...}}" after the citation template. –jacobolus (t) 20:37, 20 October 2026 (UTC)
I have several books, mainly published by the Railway Correspondence and Travel Society (RCTS), that are reprints and which also have ISBNs, but the reprint date is not given. I am getting fed up of people removing these perfectly-valid ISBNs. Although the original date is required to establish copyright, the reprint doesn't extend the copyright, and so I expect that the publisher felt that it's not necessary. --Redrose64 🌹 (talk) 22:06, 20 October 2026 (UTC)
I expect that he publisher is just reprinting old books to make money and doesn't care about much else. You should be able to find the year of publication from the ISBN if the publisher is reputable. All the best: Rich Farmbrough 18:34, 27 October 2026 (UTC).
Coda: If the ISBN is so obscure that not information can be found, it is of very limited use. I'd still want to include it, provided, of course, that it is valid and legitimately issued. All the best: Rich Farmbrough 18:36, 27 October 2026 (UTC).
I just add "Reprint: {{ISBN|}}." outside of the reference template and move the ISBN into it. —DocWatson42 (talk) 21:25, 4 November 2026 (UTC)
We shouldn't need to do that. Wikipedia:Citing sources#Dates and reprints is clear: Template:Tq Over the last 40+ years I have bought a large number of books, some of which were reprints; and those that I bought new all had ISBNs, but not all had the reprint date. --Redrose64 🌹 (talk) 21:53, 4 November 2026 (UTC)

Semi-protected edit request on 18 October 2026

Template:Edit semi-protected Whenever the surname Nostrand or Van Nostrand is cited, a good and definitive reference is Nostrand, Peter F., Assisted by Harry Macy, Jr., Are You a First Family of New York City, Connect Yourself Through the Nostrand Line from Jamaica, Queens, 1600-1900, Piffin Publishing, 2026, ISBN 979-8-234-15154-4, copyright Peter F. Nostrand, available on Amazon. Search “Nostrand genealogy”. Peterman1001 (talk) 13:24, 18 October 2026 (UTC)

not done. No evidence of an actual problem. A search for Nostrand genealogy returns no results. An insource search likewise returns no results.
—Trappist the monk (talk) 14:39, 18 October 2026 (UTC)

url-status=live

Why would I ever want this parameter? It is so irritating to click on a citation URL, find out it's dead, and then have to hunt down the citation in the article source to remove this parameter so that the archive version takes precedence. Even when the URL is still live, I want to be immediately directed to the stable archival version whenever it is available. Most of the time, the live version has just been filled with more ads and bloated scripts since the time the archival version was made. Einsof (talk) 03:33, 22 October 2026 (UTC)

Just a comment to disagree. When reading articles, I prefer initially to go to the latest URL, though it may have become irrelevant or dead; it also may have useful updated information. Also, unnecessarily opening an archived URL is usually slow, and if many people do it adds stress to the Wayback Machine. If the live version is inappropriate I don't have trouble, now as an editor, to "hunt down" the citation by seeking the author's name or well-chosen title text (a hint for rapid searching: if a title contains "antidisestablishmentarianism pseudoscience", a search for "sm ps" will often work). What is stupid is adding the parameter to an article without an archived version. Best wishes, Pol098 (talk) 10:24, 23 October 2026 (UTC)

Please update PMID limit

In this article 2026 in paleomammalogy, one of the sources has PMID higher than 42900000 (which is 42901525) and it is a legit article. Please update the limit

https://pubmed.ncbi.nlm.nih.gov/42901525/ Lowyat Slyder (talk) 01:11, 24 October 2026 (UTC)

Error message for missing url when usurped and bad archive

I have encountered a reference with a url-status=usurped and archive-url pointing to archive.today. The reference is displayed unlinked (as it should be with both its url and archive-url pointing to bad places) but the error message, "|access-date= requires |url=", is far from informative about what the real problem here is and stumped me for several minutes before I figured it out. Can we get a better error message for such situations, maybe? —David Eppstein (talk) 06:07, 1 November 2026 (UTC)

in the sandbox:
—Trappist the monk (talk) 19:25, 1 November 2026 (UTC)
Better, thanks! Given the example title, maybe I need to clarify that I am not and never have been an advocate of flat-tax initiatives. —David Eppstein (talk) 22:30, 4 November 2026 (UTC)

module suite update 7–8 November 2026

I propose to update the cs1|2 module suite over the weekend 7–8 November 2026. Here are the changes:

Module:Citation/CS1:

  • ignore invalid character use in third level domain names; discussion
  • don't emit error when a parameter has <templatestyles />; discussion
  • {{cite mailing list}}: don't ignore <syntaxhighlight lang="wikitext" inline style="display: none;" />|periodical= without <syntaxhighlight lang="wikitext" inline style="display: none;" />|mailing-list=; no discussion
  • {{cite encyclopedia}}, {{cite episode}}: URL–wikilink conflict; no discussion
  • improve handling script-params; no discussion
  • track ignored <syntaxhighlight lang="wikitext" inline style="display: none;" />|page= and <syntaxhighlight lang="wikitext" inline style="display: none;" />|article-number=; no discussion
  • {{cite conference}}, {{cite episode}}, {{cite map}}: emit error for ignored chapter; no discussion
  • {{cite map}}: redundant <syntaxhighlight lang="wikitext" inline style="display: none;" />|section= and <syntaxhighlight lang="wikitext" inline style="display: none;" />|sections=; no discussion
  • emit error message when <syntaxhighlight lang="wikitext" inline style="display: none;" />|url-status=usurped/unfit and <syntaxhighlight lang="wikitext" inline style="display: none;" />|archive-url=<archive.today>; discussion
  • make <syntaxhighlight lang="wikitext" inline style="display: none;" />|date= and <syntaxhighlight lang="wikitext" inline style="display: none;" />|publication-date= exact aliases; discussion
  • make <syntaxhighlight lang="wikitext" inline style="display: none;" />|location=, <syntaxhighlight lang="wikitext" inline style="display: none;" />|place=, and <syntaxhighlight lang="wikitext" inline style="display: none;" />|publication-place= exact aliases; discussion

Module:Citation/CS1/Configuration:

  • removed 10.1002/wsb (Wildlife Society Bulletin), only free since 2023; no discussion
  • added many free doi registrants; no discussion
  • update emoji_t to unicode v18.0.0; no discussion
  • update bibcode url components; discussion
  • make <syntaxhighlight lang="wikitext" inline style="display: none;" />|date= and <syntaxhighlight lang="wikitext" inline style="display: none;" />|publication-date= exact aliases
  • make <syntaxhighlight lang="wikitext" inline style="display: none;" />|location=, <syntaxhighlight lang="wikitext" inline style="display: none;" />|place=, and <syntaxhighlight lang="wikitext" inline style="display: none;" />|publication-place= exact aliases

Module:Citation/CS1/COinS:

  • don't emit error when a parameter has <templatestyles />; decode HTML entities; discussion

—Trappist the monk (talk) 00:12, 2 November 2026 (UTC)

As noted above, I have made a few changes without prior discussion. You can review the test cases at Special:Permalink/1383357653. Please feel free to revert them if they are not needed. FlatLanguage (talk) 07:50, 2 November 2026 (UTC)
In future, please don't make changes to the cs1|2 module suite without discussion here.
Looking at your testcases page, there are many tests that present apparently identical results. That suggests that whatever change is being tested is unnecessary or does not work. There is no explanatory text to describe the purpose of the tested changes. What are each of those tests demonstrating?
—Trappist the monk (talk) 14:13, 2 November 2026 (UTC)
I added header: Special:Permalink/1383427839 --FlatLanguage (talk) 16:58, 2 November 2026 (UTC)
Adding properties categories for ignored <syntaxhighlight lang="wikitext" inline style="display: none;" />|article-number= and for <syntaxhighlight lang="wikitext" inline style="display: none;" />|at=, <syntaxhighlight lang="wikitext" inline style="display: none;" />|page=, and the other insource-locator parameters is inconsistent with how cs1|2 handles ignored parameters. I have changed the sandbox so that cs1|2 emits the standard Unknown parameter error message when these parameters are ignored.
—Trappist the monk (talk) 23:23, 2 November 2026 (UTC)
Posted at the Village Pump. I don't know if this has resulted in any additional feedback, but several editors requested the CS1/CS2 updates to be advertised there, so I've been doing so. Rjjiii (talk) 21:31, 4 November 2026 (UTC)
I'd like to add to the chorus of disagreement with merging <syntaxhighlight lang="wikitext" inline style="display: none;" />|date= and <syntaxhighlight lang="wikitext" inline style="display: none;" />|publication-date=. These are often different values on newspaper articles with datelines. What's the rationale for removing the option to include both? Nick Number (talk) 00:24, 8 November 2026 (UTC)
Do you have an example? Headbomb {t · c · p · b} 00:59, 8 November 2026 (UTC)

This is a big change to make with so little feedback. Did you check to see how many articles used both parameters? The template previously said that both |date and |publication-date, and |location and |publication-place, were relevant and had different meetings. --Golbez (talk) 21:27, 7 November 2026 (UTC)

Or whatever, I can remove them. But it's annoying to have followed the documentation then have not only the documentation changed, but an error message all over my articles. PLease try to do better. --Golbez (talk) 22:05, 7 November 2026 (UTC)
@Golbez: Counts are in the linked discussion above. Rjjiii (talk) 22:19, 7 November 2026 (UTC)
fair. Still, is it possible to have edit warnings but not have it show up in the template? Give us a chance to clean it up before splotching red error text all over the sources. --Golbez (talk) 22:29, 7 November 2026 (UTC)
Things that aren't known about don't get fixed. This case will be easy enough for a bot to correct. Izno (talk) 00:55, 8 November 2026 (UTC)
And since I just apologized to Trappist, I'll do the same here. I saw a bunch of red text and thought it was a random change, then everything I asked was right there in black and white, so yep, I can't fault anything, this was discussed and tested and counted. :) I'll adjust. T'aint no thang. --02:42, 8 November 2026 (UTC) Golbez (talk) 02:42, 8 November 2026 (UTC)

"book-title" parameter - is the documentation outdated?

Template:Citation § COinS metadata is created for these parameters lists <syntaxhighlight lang="wikitext" inline style="display: none;" />|book-title= as an alias of <syntaxhighlight lang="wikitext" inline style="display: none;" />|title=, but {{cite book}} does not recognise this parameter. Does this parameter actually (still) exist, or is the documentation outdated? – Scyrme (talk/solidarity) 20:29, 5 November 2026 (UTC)

Template:Citation § COinS metadata is created for these parameters is not list of aliases. <syntaxhighlight lang="wikitext" inline style="display: none;" />|book-title= is unique to {{cite conference}} and still exists and still contributes to the citation's COinS metadata:
<syntaxhighlight lang="wikitext" inline="1">"Paper title". Proceedings title.</syntaxhighlight>
<syntaxhighlight lang="html" class="" style="" inline="1">"Paper title". Proceedings title.</syntaxhighlight>
"Paper title". Proceedings title.
—Trappist the monk (talk) 22:27, 5 November 2026 (UTC)
Good to know. Thanks for the correction! – Scyrme (talk/solidarity) 23:59, 5 November 2026 (UTC)

Agency

Have I lost the plot, or is <syntaxhighlight lang="wikitext" inline style="display: none;" />|agency= no longer displaying in this version (specifically impacting the citations in this revision)? Izno (talk) 00:54, 8 November 2026 (UTC)

Fixed, I think; this from 2020s:
<syntaxhighlight lang="wikitext" inline="1">Template:Cite news/new</syntaxhighlight>
Template:Cite news/new
—Trappist the monk (talk) 01:35, 8 November 2026 (UTC)

Language codes and MOS:LANG

Setting the |language= parameter in a cite template does not currently tag the |title= or |quote= parameters with that language in the way required by MOS:LANG, right? I'd like to suggest that it should, to save the need for {{lang}} templates within refs. Helpful Cat🐈 18:43, 8 November 2026 (UTC)

Template:Reply It's not that simple. Firstly. <syntaxhighlight lang="wikitext" inline style="display: none;" />|language= is designed to take multiple languages as some sources are multilingual. Template:Pb Secondly, it can't be assumed that the title isn't in English just because the source itself is non-English. The editor may have provided an English title instead of using <syntaxhighlight lang="wikitext" inline style="display: none;" />|trans-title=. The title may be a descriptive title for a webpage that has no heading ("Data from..."). The source might be untitled with <syntaxhighlight lang="wikitext" inline style="display: none;" />|title=[untitled] being set per the advice at Template:Title missing § How to fix the problem flagged by this template. I also vaguely recall having seen sources where the title actually is in English but the article itself isn't, though unfortunately I can't recall where I saw this so can't drop a link. The title also may not be in a single language (it may include loanwords or quotes) so tagging the whole thing in one language may be incorrect (eg. "Box Office: 'हनुमान अंश' ने 66वें दिनTemplate:Omission"). Template:Pb Additionally, as far as I know, templates, including {{lang}}, should not be used in <syntaxhighlight lang="wikitext" inline style="display: none;" />|title= (or in other parameters like <syntaxhighlight lang="wikitext" inline style="display: none;" />|journal=. <syntaxhighlight lang="wikitext" inline style="display: none;" />|publisher=, etc.). See Template:Citation § COinS: "Template:Tq" (exceptions being for things like {{SfnRef}} for <syntaxhighlight lang="wikitext" inline style="display: none;" />|ref=, and, as far as I know, it's fine to use {{lang}} in <syntaxhighlight lang="wikitext" inline style="display: none;" />|quote=). – Scyrme (talk/solidarity) 19:15, 8 November 2026 (UTC)
I see, thanks for the explanation. Regarding COinS, does adding |cat=no or |nocat=yes not allow {{lang}} to be used in |title= and other citation parameters without polluting COinS? {{lang}}'s documentation says Template:Tq.Template:PbI also just saw that {{lang}} was recently removed from Category:Templates not safe for use in citation templates with a link to this discussion, in which editors disagreed with the need to avoid templates to preserve COinS. Even if the |nocat=yes fix doesn't work, if there is a tradeoff between COinS and screen reader accessibility for human readers, shouldn't the latter take priority? Thanks. Helpful Cat🐈 07:56, 9 November 2026 (UTC)
As far as I know <syntaxhighlight lang="wikitext" inline style="display: none;" />|cat=no makes no difference since the problem is that also inserts HTML not just a category. The initiator of that discussion you linked seemed to think this could be overcome, but it's not clear from that discussion if the proposed "rules" were ever implemented. Template:Pb I feel like that discussion should probably have been an RfC to get a sitewide consensus, or followed up by an RfC to see if there's broad agreement with the views expressed there. If answer really is "we should not care about COinS metadata anymore" then maybe Category:Templates not safe for use in citation templates should be empty given the only criterion for inclusion listed is pollution of the metadata. If we don't mind polluting the metadata, the template documentation also needs to be updated. Probably some guidelines too. Allowing templates in citations also means that in some cases doing so will be de facto encouraged, since guidelines like MOS:LANG will now be seen to apply. – Scyrme (talk/solidarity) 12:51, 9 November 2026 (UTC)
An RfC is a good idea, I'll think about how to phrase one. Another possible outcome is that we still care about COinS, but might agree that in some circumstances, other considerations should take priority (e.g. screen reader accessibility in the case of MOS:LANG). It would definitely be good to get the consensus of the community. Helpful Cat🐈 14:54, 9 November 2026 (UTC)
Template:Ping has just said here that the |language=, |script-title= and |script-quote= parameters in citation templates already mark text for screen readers in the way MOS:LANG requires. In that case, {{lang}} templates within citation templates are not necessary for MOS:LANG after all (except in the specific cases described by Scyrme above)! Helpful Cat🐈 15:06, 9 November 2026 (UTC)
I think that you will find that Editor Andrybak is a bit mistook. Yes, cs1|2 does support <syntaxhighlight lang="wikitext" inline style="display: none;" />|language=, <syntaxhighlight lang="wikitext" inline style="display: none;" />|script-title=, and various other <syntaxhighlight lang="wikitext" inline style="display: none;" />|script-...= parameters. But, <syntaxhighlight lang="wikitext" inline style="display: none;" />|language= is just a visual indication that the source is written in one or more non-English languages; it modifies nothing. The <syntaxhighlight lang="wikitext" inline style="display: none;" />|script-...= parameters are constrained to a limited set of languages that are written using non-Latin scripts so writing summat like this:
<syntaxhighlight lang="wikitext" inline="1"> Bundesrepublik Deutschland [Federal Republic of Germany]. {{cite book}}: Invalid |script-title=: unknown language code (help)</syntaxhighlight>
causes cs1|2 to emit an error message:
Bundesrepublik Deutschland [Federal Republic of Germany]. {{cite book}}: Invalid |script-title=: unknown language code (help)
Still, even with the error message, the <syntaxhighlight lang="wikitext" inline style="display: none;" />|script-...= parameters do cause cs1|2 to add some html markup that includes the lang= attribute:
<syntaxhighlight lang="html" class="" style="" inline="1"> Bundesrepublik Deutschland [Federal Republic of Germany]. {{cite book}}: Invalid |script-title=: unknown language code (help)</syntaxhighlight>
—Trappist the monk (talk) 15:30, 9 November 2026 (UTC)

Could somebody deal with this category properly? Thanks. * Pppery * it has begun... 22:56, 8 November 2026 (UTC)

Empty and marked for speedy deletion. The category is misnamed. The error message:
Error: nl-be and Flemish are not a supported pair found at Template:Citation Style documentation/language/doc
{{CS1 language sources}} parses the category title into a language name (Flemish) and a language tag (nl-be). It then looks in Template:Citation Style documentation/language/doc for a language / name pair that agree with the category title. Not finding a match, we get the error message.
cs1|2 uses the language tags and names known to MediaWiki. For nl-be MediaWiki returns:
<syntaxhighlight lang="wikitext" inline="1">nl-BE</syntaxhighlight> → nl-BE
which is not Flemish.
So, nothing to do except wait for the speedy deletor.
—Trappist the monk (talk) 01:25, 9 November 2026 (UTC)