This is the talk page for discussing improvements to the Help:Citation Style 1 and the CS1 templates page. |
|
Archives: Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99Auto-archiving period: 20 days ![]() |
![]() | To help centralize discussions and keep related topics together, the talk pages for all Citation Style 1 and Citation Style 2 templates and modules redirect here. A list of those talk pages and their historical archives can be found here. |
![]() | This help page does not require a rating on Wikipedia's content assessment scale. It is of interest to multiple WikiProjects. | |||||||||||||||||||||||||||
|
|
unnamed refs | 239 |
---|---|
named refs | 19 |
self closed | 42 |
rp templates | 50 |
refbegin templates | 1 |
use xxx dates | mdy |
explanations |
Citation templates are great tools for editors, but they do create massive bloat that accretes to real harm. In an article like hip-hop, converting just one Cite Journal reference to plain text saved 360 bytes. The entire article is 226,834 bytes. An enormous amount of its current bloat is a reliance on templates for citations where they are not necessary. If there were a way to get templates to generate more efficient citations, that would be a blessing.Trumpetrep (talk) 21:04, 18 May 2025 (UTC)
{{Cite journal|last=Leach|first=Andrew|year=2008|title="One Day It'll All Make Sense": Hip-Hop and Rap Resources for Music Librarians|url=https://www.jstor.org/stable/30163606|journal=Notes|volume=65|issue=1|pages=9–37|doi=10.1353/not.0.0039|jstor=30163606|s2cid=144572911|issn=0027-4380|access-date=December 5, 2020|archive-date=January 28, 2021|archive-url=https://web.archive.org/web/20210128051605/https://www.jstor.org/stable/30163606|url-status=live}}
{{Cite journal|last=Leach|first=Andrew|year=2008|title="One Day It'll All Make Sense": Hip-Hop and Rap Resources for Music Librarians|journal=Notes|volume=65|issue=1|pages=9–37|doi=10.1353/not.0.0039|jstor=30163606}}
Leach, Andrew. "[https://doi.org/10.1353/not.0.0039 'One Day It'll All Make Sense': Hip-Hop and Rap Resources for Music Librarians]". ''[[Notes (journal)|Notes]]''. 65 (1), 2008. 9–37.
We have a slew of CS1-adjacent templates for identifiers. For purpose of documentation/style, I propose that we call those CS0 style. Specifically,
And possibly others from Template:Catalog_lookup_link#See also.
We could then bring error checking and other features from Module:Citation/CS1, which could share documentation and code, thereby facilitating maintenance etc...
We'd mirror the category scheme, so we'd have, for example
and the same for other categories, like Category:CS1 errors and its subcategories.
These would effectively have the same documention, and we'd just change "Citation Style 1 and Citation Style 2" to "Citation Style 0, Citation Style 1 and Citation Style 2" "CS1|2" to "CS0|1|2".
Thoughts? Headbomb {t · c · p · b} 16:43, 29 May 2025 (UTC)
For purpose of documentation and categories
For all documentations purposes and categorization purposes, CS1 and CS2 are identical. The only difference is one uses a period for delimiter (with a final period), the other uses a comma (with no final period).
|mode=cs1
or |mode=cs2
. User:BrandonXLF/CitationStyleMarker.js is a useful script if you want to know at a glance which style is used in an article.What I'm proposing here is that for purpose of coding/documentation/categorization/error messages, we call CS0 those semi-templated citations that invoke those catalog lookup templates, and that they share code and documentation with CS1/2 templates when possible. If CS0 offends you, call it CS3 (or CS Platypus or whatever). Headbomb {t · c · p · b} 17:27, 29 May 2025 (UTC)
Returning to the nub of this discussion, there are issues that would need to be addressed somehow. Mostly it is the variety of parameters and options supported by the identifier templates:
{{arxiv}}
– takes a single value; has support for |archive=
parameter; the parameter is documented as deprecated and not apparently used in mainspace but is still supported in the template{{bibcode}}
– takes a single value{{biorxiv}}
– takes a single value{{citeseerx}}
– host appears to be currently dead (502 bad gateway) – has support for up to nine identifiers; supports |type=
with values doi
and pid
{{doi}}
– takes a single value{{hdl}}
– takes a single value; supports |hdl-access=
values free
, limited
, registration
, subscription
{{isbn}}
– has support for up to nine identifiers; supports |plainlink=
, |link=
, |leadout=
, |invalid1=
.. |invalid9=
, |template_name=
{{issn}}
– has support for up to nine identifiers; supports |plainlink=
, |link=
, |leadout=
, |invalid1=
.. |invalid9=
{{jfm}}
– has support for up to nine identifiers; supports |leadout=
{{jstor}}
– takes a single value; supports |stable=
, |sici=
, |issn=
{{lccn}}
– takes a single value; supports |title=
, |name=
, |long=
; uses Module:LCCN{{medrxiv}}
– takes a single value{{mr}}
– has support for up to nine identifiers; supports |leadout=
{{oclc}}
– has support for up to nine identifiers; supports |leadout=
, |show=
{{osti}}
– takes a single value{{pmc}}
– takes a single value{{pmid}}
– has support for up to nine identifiers; supports |plainlink=
, |leadout=
{{ssrn}}
– takes a single value{{zbl}}
– has support for up to nine identifiers; supports |leadout=
—Trappist the monk (talk) 19:42, 29 May 2025 (UTC)
|<identifier>-access=
. bibcode, jstor, osti, ssrn should support it too. Headbomb {t · c · p · b} 02:07, 30 May 2025 (UTC)
|<identifier>-access=free
. Headbomb {t · c · p · b} 03:07, 30 May 2025 (UTC){{Catalog lookup link}}
. That template supports up to nine identifiers and the parameters |leadout=
, |link=
, and |plainlink=
. The sandbox module supports these parameters and essentially unlimited numbers of identifier-values for all of the identifier templates.{{citeseerx}}
– host seems to be mostly dead; most often returning 502 gateway errors. When marginally alive, doesn't seem to recognize dois in the form 10.x.x.x (where 'x' is some number of digits). Supports an undocumented parameter |type=
which accepts doi
and pid
as values. Used in <5 articles; those specifying |type=pid
appear to work when the host is working; pid
type identifiers not supported by cs1|2{{hdl}}
– besides free
, supports |hdl-access=
values limited
, registration
, and subscription
; these parameter values do not appear to be used{{ISBN}}
– supports:
|invalidn=
= used in ~120 articles; can be replaced with accept-as-written markup ((..))
if rendered with the sandbox module|template_name=
not documented; used to identify the template calling Module:Check isxn (a cs1|2 derived module to do error checking){{ISSN}}
– supports |invalidn=
used in ~10 articles; can be replaced with accept-as-written markup ((..))
if rendered with the sandbox module{{JSTOR}}
– supports:
|stable=
used in ~5 articles; alias of {{{1}}}
|sici=
does does not appear to be used; cannot be used with {{{1}}}
or |stable=
|issn=
used in <5 articles; cannot be used with {{{1}}}
or |stable=
or |sici=
|no=
does not appear to be used; alias of |issn=
{{lccn}}
– has its own Module:LCCN; supports:
{{{2}}}
(a title or label) used in ~10 articles|long=
used in ~15 articles{{OCLC}}
– supports |show=
; used in ~270 articles; when used, WorldCat requires registration to view results{{hdl}}
can be upgraded. To upgrade {{isbn}}
and {{issn}}
(and {{ismn}}
and {{sbn}}
?) we must replace |invalidn=
in instances of those templates; a relatively minor task.{{citeseerx}}
{{jstor}}
{{lccn}}
{{oclc}}
{{asin}}
– used in ~4700 articles.
{{OL}}
–used in ~140 articles
ia:...
identifiers (not currently used in any articles; not supported by cs1|2; the identifier can be converted to an Internet Archive url:
{{OL|ia:workplacemanagem00onot}}
→ OL ia:workplacemanagem00onot
https://archive.org/details/workplacemanagem00onot
→ https://archive.org/details/workplacemanagem00onot|version=
? (and |version-date=
) -- 65.93.183.249 (talk) 15:15, 21 June 2025 (UTC)No. If you're citing arXiv:0704.0001v1 specifically, then you use
If you're citing arXiv:0704.0001v2 , then you use
Headbomb {t · c · p · b} 15:56, 21 June 2025 (UTC)
When citing primary source documents accessed via Ancestry.com, can someone offer guidance on how to populate the citation template fields? For example, the Certificate of Registration of American Citizen (WP:TWL link) for James W McKean, numbered 10160 in the original paper document, has the following source information provided in the "Source" tab on Ancestry.com:
Ancestry.com. U.S., Consular Registration Certificates, 1907-1918 [database on-line]. Lehi, UT, USA: Ancestry.com Operations, Inc., 2013. Original data: Consular Registration Certificates, compiled 1907–1918. NAID: 1244186. General Records of the Department of State, 1763–2002, Record Group 59. The National Archives in Washington, D.C.
What citation template is best suited for such documents, and how should the information be mapped to the author, title, work, publisher, etc. fields? --Paul_012 (talk) 15:27, 2 June 2025 (UTC)
via=
parameter and note that it was accessed through Ancestry.com. —Carter (Tcr25) (talk) 16:10, 22 June 2025 (UTC)Greetings and felicitations. If and when the order of fields is ever revised, please put "edition" before "series", unlike it is now. Example of the current order, copied from a "templated" reference:
Miller, Timothy S. (2024). Peter S. Beagle's The Last Unicorn: A Critical Companion. Palgrave Science Fiction and Fantasy: A New Canon (1st ed.). Cham, Switzerland: Palgrave Macmillan. doi:10.1007/978-3-031-53425-6. ISBN 978-3-031-53424-9.
—DocWatson42 (talk) 08:51, 6 June 2025 (UTC)
Lane, Richard (December 1957). "The Beginnings of the Modern Japanese Novel: Kana-zoshi 1600–1682". ''Harvard Journal of Asiatic Studies''. 20 (3–4). Harvard-Yenching Institute: 644–701. doi:10.2307/2718366. JSTOR 2718366.
When {{cite arxiv}} has a new (post 2007) style identifier (|arxiv/eprint=####.####/####.#####
), there should be a check that |class=
is set. E.g. in
{{cite arXiv |eprint=2412.09676 |title=OGLE-2015-BLG-1609Lb: Sub-jovian planet orbiting a low-mass stellar or brown dwarf host |last1=Mróz |first1=M. J. |date=2024 |display-authors=etal }}
we're missing |class=astro-ph.EP
and should display a maintenance message so we can fix it to its proper form.
{{cite arXiv |eprint=2412.09676 |class=astro-ph.EP |title=OGLE-2015-BLG-1609Lb: Sub-jovian planet orbiting a low-mass stellar or brown dwarf host |last1=Mróz |first1=M. J. |date=2024 |display-authors=etal}}
Headbomb {t · c · p · b} 11:48, 7 June 2025 (UTC)
{{cite arXiv/new |eprint=2412.09676 |title=OGLE-2015-BLG-1609Lb: Sub-jovian planet orbiting a low-mass stellar or brown dwarf host |last1=Mróz |first1=M. J. |date=2024 |display-authors=etal}}
{{cite arXiv}}
: CS1 maint: missing class (link)The cite news/cite website template throws errors if you try to use it without newspaper/website/work=. However, because some people want to use it without italics for sources like BBC News, they keep trying to use either publisher= or agency= because they don't use italics which gets unendingly corrected back and forth, because these sources are not the publishing company or a news agency, they are the work, so it's both incorrect and it throws errors because it is marked as a "required" parameter. I don't think it matters if it displays in italics, but @Jprg1966 sure seems to. Is there some way we can turn the italics on the work/website parameter off on specific citations? PARAKANYAA (talk) 22:28, 10 June 2025 (UTC)
The cite news/cite website template throws errors if you try to use it without newspaper/website/work=.Not true.
...it throws errors because it is marked as a "required" parameter.Also not true; see these examples:
{{cite news |title=Title}}
→ "Title".{{cite web |title=Title |url=//example.com}}
→ "Title".{{cite journal}}
and {{cite magazine}}
do not require a |work=
alias because the editing community got their collective knickers in a bunch when cs1|2 briefly required a |work=
alias for {{cite news}}
and {{cite web}}
. The italic vs. roman display dispute will likely never be resolved. Creating an italic on/off switch will simply change the dispute from editors switching between |work=
and |publisher=
to editors switching between |italic-work=on
and |italic-work=off
. Not much of a gain there.Hello, could we have a check on author fields using "last updated" such as
{{cite news |last=updated |first=Tyler Wilde last |title=Title}}
Thanks Keith D (talk) 11:26, 11 June 2025 (UTC)
{{cite news/new |last=updated |first=Tyler Wilde last |title=Title}}
I've dug through the talk history and there are a few cases where this has been mentioned, but I'm not finding a solution that currently works. In an article, I ran into citation with a web link with an archive link. The original URL has been usurped to try and push a software download. The linked archive at the Library of Congress Web Archive comes back as "not found". Looking for an archived version on Archive.org returns "this link has been removed from the Wayback Machine. I can set url-status=usurped
, and leave a dead value in archive-url=
or I can remove the archive URL entirely, but then url-status=
no longer suppresses linking to the original (usurped) URL. I can comment out the URL, but that throws a CS1 error about a missing URL. For the moment, I've just used plain text instead of {{Cite web}} on the reference, but is there a workable way to have url-status=usurped
suppress a harmful link while still keeping the full citation information intact when there isn't an archived version? —Carter (Tcr25) (talk) 15:02, 11 June 2025 (UTC)
url-status=
requires the presence of archive-url=
to work since its primary task is to decide whether to link title=
to the original or archived URL. I'm not sure what technical limitations exist to change that. —Carter (Tcr25) (talk) 15:43, 11 June 2025 (UTC)|url-status=
because normally if there is no archive URL that field is automatically removed by multiple cleanup tools, exceptions are brittle prone to break. IMO your best option is convert to {{citation}}
without a |url=
along with an edit comment. -- GreenC 16:06, 11 June 2025 (UTC)
Can someone please help fix the footnote in the Top countries section of Nature Index? (I didn't place it there, I just noticed that it doesn't seem to be working correctly and don't use footnotes so I don't know how to fix it.) Thanks! ElKevbo (talk) 03:09, 13 June 2025 (UTC)
I'm nominating the vcite suite for deletion. Feel free to participate in the discussion. Headbomb {t · c · p · b} 15:28, 13 June 2025 (UTC)
Hello, another Generic title to be added to the list "Request Rejected" i.e. {{cite web |title=Request Rejected }} Keith D (talk) 21:51, 14 June 2025 (UTC)
Here since a citation to the preprint is intentional, the title should be autolinked, i.e.
Should display as (sans the error message)
{{cite arXiv}}
: Unknown parameter |url=
ignored (help)Same for {{cite biorxiv}}, {{cite citeseerx}}, {{cite medrxiv}}, {{cite ssrn|ssrn-access=free}}
. Headbomb {t · c · p · b} 18:21, 25 June 2025 (UTC)
I have a valid journal article with OCLC and S2CID values above the current limits (link to OCLC, link to S2CID). Could Help:CS1 errors be updated? Averageuntitleduser (talk) 13:14, 26 June 2025 (UTC)
I want to note that it's useful to be able to add Series info to the "Cite book" Template, however, it is badly placed in the final display. The logical place for it is after information about the book title, including edition, and volume number. Right now it automatically comes before these things. "Series" information should follow all of these pieces of information about the individual book and volume info, and be right before Publisher or Location: Publisher. Can someone please fix this? I'll note that this issue was brought up previously as far back as 2017: Help_talk:Citation_Style_1/Archive_35#Book_edition_vs_series_edition. Peter G Werner (talk) 01:32, 27 June 2025 (UTC)
When the source is part of a series, such as a book series or a journal, where the issue numbering has restarted.That is, could there be two different books both numbered 1? --Redrose64 🌹 (talk) 08:11, 27 June 2025 (UTC)
|series=
parameter but they mean totally different things. Perhaps the documentation for this parameter should diverge to reflect this. —David Eppstein (talk) 09:27, 27 June 2025 (UTC)
|series=Hakluyt Society Publications, 2nd ser.
and |volume=106
. —David Eppstein (talk) 09:42, 27 June 2025 (UTC)This script toggles {{ref info}} on your current article. It's very useful for gnoming. Headbomb {t · c · p · b} 17:12, 27 June 2025 (UTC)