Help talk:Citation Style 1
Add topic| 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, 99, 100, 101, 102Auto-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. | ||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||
|
Cite is completely unfriendly for mobile web editing
[edit]As I’ve been reading article after article by Wiki admins and trustees etc saying that Wikipedia is literally dying - and mostly admin edits not genuine contributions, i’d like to point out that creating new references was a nightmare today because of the specific use of straight speech marks that are present on the normal keyboard of approx zero mobile users - changing the cite tag to use “” instead of "" would be a winner Manboobies (talk) 10:53, 16 June 2026 (UTC)
- if it’s the case that you can either use one or the other but not mix them, that also needs changing please -Manboobies (talk) 10:58, 16 June 2026 (UTC)
- "Hello" - Written on my Pixel 8. Headbomb {t · c · p · b} 10:59, 16 June 2026 (UTC)
- More importantly, how does the use of straight quotes prevent you from using cite templates? Headbomb {t · c · p · b} 10:59, 16 June 2026 (UTC)
- it’s the use of curly quotes “” - not straight quote marks / typewriter quotes (or whatever they’re called) that prevent the template from working. Curly quotes are used by default on iPhone. There are no typewriter quotes by default. This blocks citing sources for most young mobile users who use iOS not Android. It will discourage them, as it discouraged me working through the error messages caused by curly quotes disrupting reference names. I had to spend 45 minutes the other day fixing it. I know it does it now, but for most new users this will be off putting and may make them leave the platform. Manboobies (talk) 17:08, 28 June 2026 (UTC)
- See also my message further down for more technical info on the error Manboobies (talk) 17:25, 28 June 2026 (UTC)
- More importantly, how does the use of straight quotes prevent you from using cite templates? Headbomb {t · c · p · b} 10:59, 16 June 2026 (UTC)
- Many of my edit, all on mobile, have been the creation of cites and I've never had an issue with speech marks. What exact issue are you having?
Also the death of Wikipedia is massively overblown. The amount of active editor is much the same as it ever have been[1], the amount of edits and the proportion of those edits that are content related are at all all time high[2] and although page views are down from a bubble in 2024/2025 they are at exactly the same level as they have been for the past decade[3]. -- LCU ActivelyDisinterested «@» °∆t° 11:58, 16 June 2026 (UTC)- Manboobies, it is more important to add valid citations, per WP:V, than to get the formatting exactly right. If your phone's keyboard doesn't type straight quote marks, don't worry about it. It is much easier for other editors to straighten quote marks than to add valid citations. Thanks for contributing! – Jonesey95 (talk) 17:51, 18 June 2026 (UTC)
- @Manboobies: I don't understand when you might need to use quote marks in a cite template. But if you have an Apple device, try: Settings → General → Keyboard → Smart Punctuation. Turn that off. --Redrose64 🌹 (talk) 21:50, 18 June 2026 (UTC)
- Elaborately altering default phone settings is not a fix, neither is using Android. Most young people are using iPhones. It should just work.
- it’s the use of curly quotes “” rather than straight quote marks / typewriter quotes that prevent the template from working with the <ref name="Sourcename"/> and <ref name="Sourcename"> tags used outside the cite web structure to label sources. I’m not sure if it’s mixed usage of straight and curly when used with reference names that does it, or any usage of curly quotes.
- Curly quotes are used by default on iPhone. There are no typewriter quotes by default. This blocks citing sources for most young mobile users who use iOS not Android. It will discourage them, as it discouraged me working through the error messages caused by curly quotes. I had to spend 45 minutes the other day fixing it. I know Wikipedia is broken in this way now so I can fix it quicker in future, but for most new users this will be off putting and may make them leave the platform. I note the insert buttons under this dialogue box with various symbols has curly quotes, not type writer quotes, adding to the impact Manboobies (talk) 17:08, 28 June 2026 (UTC)
- This is not a template issue, this is a general HTML issue.
- I have <span style="color:blue">blue</span> eyes → I have blue eyes
- vs
- I have <span style=“color:blue”>blue</span> eyes → I have blue eyes
- Headbomb {t · c · p · b} 18:12, 28 June 2026 (UTC)
- "
Most young people are using iPhones.
" this is only true in the US. -- LCU ActivelyDisinterested «@» °∆t° 22:17, 28 June 2026 (UTC)- As Headbomb points out, HTML (and CSS) requires straight quotes, not curly quotes. However
<ref name=.../>is wiki markup not HTML, so it would in principle be possible to allow curly quotes here. Better in my view is to avoid the need for quote marks; if the reference name does not contain spaces or special characters, the quote marks can be omitted. Something like<ref name=SmithJones2026/>or<ref name=POWO_828178-1/>, which is my preferred style, works fine (although some editors then go round adding unnecessary quotes). Peter coxhead (talk) 09:05, 29 June 2026 (UTC)
- As Headbomb points out, HTML (and CSS) requires straight quotes, not curly quotes. However
- This is not a template issue, this is a general HTML issue.
- That seems to work? Rjjiii (talk) 13:48, 29 June 2026 (UTC)
- Yes, but...
<ref name=“test”>(with curly quotes) does not match<ref name="test">or<ref name="test" />(with straight quotes). MediaWiki treats curly quotes as part of the 'name'; straight quotes are not part of the 'name' so<ref name="test">(with straight quotes) and<ref name=test />(without quotes) match. - Still, all of this has nothing to do with cs1|2 templates.
- —Trappist the monk (talk) 14:34, 29 June 2026 (UTC)
- @Manboobies: More specifically, when the MediaWiki software encounters markup like
<ref name=“test”>it treats this as if you had typed<ref name="“test”">. Thus, the two curly quotes are considered to be regular characters, not delimiters. This is consistent with how many browsers behave when they encounter the same characters: if Firefox encounters markup like<span style=“color:blue”>it processes this as if it were<span style="“color:blue”">, which is an invalid HTML attribute, and accordingly is ignored. - But did you try my suggestion of turning off the smart punctuation? Alternatively, try the "long press" technique, also known as "press and hold". On most (if not all) Apple touch screen devices, this allows one key to generate several different characters. When I try it, with smart punctuation still enabled, I'm given a choice of six different double quotes - left and right guillemots, straight quotes, and three different shapes of curly.
- But as Trappist the monk notes, this is nothing to do with Citation Style 1, since the same issue occurs with non-templated refs. It's much closer to WP:NAMEDREFS. --Redrose64 🌹 (talk) 07:41, 30 June 2026 (UTC)
- Yes, but...
- That seems to work? Rjjiii (talk) 13:48, 29 June 2026 (UTC)
Citing geo-blocked websites
[edit]I cited a website in an article and went back to read it again, only to find that the website has now been blocked in my country and any links to the domain give a message saying it's "not available in your region". The domain in this example is the Australian news site https://10.com.au/ (Network 10), which cannot be accessed by IP addresses in the US and presumably other countries as well. I want to propose an additional parameter, similar to the url-access parameter, where this can mentioned so it doesn't come across as a dead link. (Of course, ideally another non-geoblocked source should be used in its place, but sometimes that's not an option.) –Dream out loud (talk) 18:59, 24 June 2026 (UTC)
- I can't think of a citation style that does this. It feels like including the approximate cost of a book in its citation. Rjjiii (talk) 07:50, 25 June 2026 (UTC)
Url's unusual top-level domain?
[edit]In this article, the top-level domain of the reference ("La Grande histoire César". Digitised Manuscripts. British Library. 1479. is {{cite web}}: CS1 maint: deprecated archival service (link))today. It returns a Script warning maintenance message. How should the reference be handled? —GoldRingChip 15:13, 26 June 2026 (UTC)
- The use of archive.today has been deprecated due to issue with service, it should be replaced with a different archiving service. Wikipedia:archive.today guidance explains more about the issue. -- LCU ActivelyDisinterested «@» °∆t° 20:43, 26 June 2026 (UTC)
- Alas, the tool there (https://fixarchive.toolforge.org) doesn't replace the link and I can't find the info on Archive.org. —GoldRingChip 13:44, 29 June 2026 (UTC)
- If you go to the first archive at the wayback machine it redirects to:
http://www.bl.uk/manuscripts/FullDisplay.aspx?ref=Royal_MS_17_f_ii
That's dead as well, but if you check the wayback machine it was archived here. -- LCU ActivelyDisinterested «@» °∆t° 17:27, 29 June 2026 (UTC)- Alternatively if you use the search page on the live website with the reference's title[4], you can find the current live url:
https://searcharchives.bl.uk/catalog/040-002107409 -- LCU ActivelyDisinterested «@» °∆t° 17:31, 29 June 2026 (UTC)
- Alternatively if you use the search page on the live website with the reference's title[4], you can find the current live url:
- If you go to the first archive at the wayback machine it redirects to:
infixes in last names
[edit]A short time ago there was a "discussion" on infixes in last names. See: Help talk:Citation Style 1/Archive 102#Please make provisions for correct handling of infixes in last names Especially in Dutch (but perhaps in other languages as well; German?) this is a serious problem. A solution like "|last=Vreeze, |first=M. de" is not a real solution. The last name is "de Vreeze", not "Vreeze". But the problem is in the ordering in lists, like sources. Here the name is listed under "Vreeze". So a separate treatment of the infixes really deserves a serious discussion. --Dick Bos (talk) 17:28, 26 June 2026 (UTC)
- Couldn't
|author-mask=be used for this issue?
{{cite book |last1=Vreeze |first1=M. de |author-mask1=de Vreeze, M. |title=Example title}}
Comes out as:
de Vreeze, M. Example title.
It will display as de Vreeze, but will be listed under Vreeze. -- LCU ActivelyDisinterested «@» °∆t° 20:48, 26 June 2026 (UTC)- That's extremely hackish and shouldn't be done. If you want to sort de Vries under "V", then you place the citation in the Vs. Headbomb {t · c · p · b} 18:06, 28 June 2026 (UTC)
- Agreed. Just put it in the right place, and put the correct first and last names in the correct parameters. The incorrect citation above yields a CITEREF (for {{sfn}}) of "CITEREFVreeze" instead of the correct "CITEREFde_Vreeze". Leave out the author-mask, which is not needed. de Vreeze, M. Example title. – Jonesey95 (talk) 19:00, 28 June 2026 (UTC)
- That's extremely hackish and shouldn't be done. If you want to sort de Vries under "V", then you place the citation in the Vs. Headbomb {t · c · p · b} 18:06, 28 June 2026 (UTC)
Whatever happened to vcite?
[edit]Just wondering. I assume it was "merged" in citation style 1. Who did it and when? ---- CharlesTGillingham (talk) 01:00, 30 June 2026 (UTC)
- Wikipedia:Templates for discussion/Log/2025 June 13#Template:Vcite journal
- —Trappist the monk (talk) 01:07, 30 June 2026 (UTC)
Extremely minor wishlist item
[edit]This might go against 200 years of academic tradition IDK but anyway.
I use a fair amount of unpublished theses when I get really deep in regional history/biographies. My dumb dream is to have like an "academic department" field in the cite thesis template.
- Haveman, Christopher D. (August 7, 2009). The Removal of the Creek Indians from the Southeast, 1825–1838 (Ph.D thesis). Auburn, Alabama: Auburn University.
in the example above maybe have Ph.D – History instead of Ph.D. thesis
Like maybe academic departments don't confer degrees just universities so they would be wrong? I just find it kind of informative to know if the thesis is for a M.A. thesis in Anthropology versus a Ph.D. thesis in History, when covering, for instance, Indigenous nomenclature practices.
thank you for reading and for the mysterious and important citation-template work jengod (talk) 23:16, 2 July 2026 (UTC)
- Perhaps this:
{{Cite thesis |last=Haveman |first=Christopher D. |date=August 7, 2009 |title=The Removal of the Creek Indians from the Southeast, 1825–1838 |publisher=Auburn University |location=Auburn, Alabama |url=https://etd.auburn.edu/handle/10415/2184 |language=en |type=PhD History}}- Haveman, Christopher D. (August 7, 2009). The Removal of the Creek Indians from the Southeast, 1825–1838 (PhD History). Auburn, Alabama: Auburn University.
- or this:
{{Cite thesis |last=Haveman |first=Christopher D. |date=August 7, 2009 |title=The Removal of the Creek Indians from the Southeast, 1825–1838 |publisher=Auburn University |location=Auburn, Alabama |url=https://etd.auburn.edu/handle/10415/2184 |language=en |degree=PhD |department=History}}- Haveman, Christopher D. (August 7, 2009). The Removal of the Creek Indians from the Southeast, 1825–1838. History (PhD thesis). Auburn, Alabama: Auburn University.
- —Trappist the monk (talk) 00:28, 3 July 2026 (UTC)
- rad. That works. Visual Editor gizmo on mobile does not like extra fields in cite thesis but that's Ok I can type it out in whatever the other editor is called. Thank you. Barnstars. Mardi Gras beads. Fealty. Honors. jengod (talk) 00:44, 3 July 2026 (UTC)
Contributor
[edit]This doesn't work for some books. For example, A Search for Justice (1971).[5] The contributors, James Squires, John Hemphill, and Frank Ritter aren't given exact contribution credits in the book, but do appear on the author page. They aren't co-authors, as this is a collaborative work with Seigenthaler receiving primary author credit. And they aren't editors. Viriditas (talk) 02:11, 3 July 2026 (UTC)
|others=could be a solution to this issue. -- LCU ActivelyDisinterested «@» °∆t° 12:35, 3 July 2026 (UTC)- I think that is the solution. Thank you. Viriditas (talk) 23:13, 3 July 2026 (UTC)
- If the book itself names Squires, Hemphill, and Ritter as authors, include them as authors 2–4 in the template.
|others=is for contributors who are not authors, not editors, not translators. - —Trappist the monk (talk) 13:05, 3 July 2026 (UTC)
- They are not named as "authors". Others appears valid for this usage. My understanding is that Seigenthaler is the primary author but is using the work of Squiers, Hemphill, and Ritter in a collaborative way, and giving them the credit of "contributors" even though they probably didn't write the book itself. Not much written on this, so I'm just guessing. Viriditas (talk) 23:15, 3 July 2026 (UTC)
- If they're on the author page they're authors. PARAKANYAA (talk) 19:30, 3 July 2026 (UTC)
- They aren't authors. The 1970s was a way different time. Viriditas (talk) 23:13, 3 July 2026 (UTC)
deprecate |citeseerx= ?
[edit]CiteseerX appears to be dead. This was discussed last quarter 2022; see Help talk:Citation Style 1/Archive 86 § citeseerx links are ALL dead.
Things don't seem to have gotten any better. Today I stumbled upon this: CiteSeerx: 10.1.1.477.4527
. Clicking that link will redirect to a blank archive.org snapshot:
I have since tried several others and gotten similar results; different archive.org urls but all returning blank pages.
Because these links go to nowhere meaningful, should we deprecate |citeseerx=?
—Trappist the monk (talk) 00:13, 5 July 2026 (UTC)
- By "deprecate", do you mean target for eventual removal of both the metadata from our citations and the parameter from our template? If so, ok with me. I didn't find them particularly useful before citeseerx died, and now... —David Eppstein (talk) 01:38, 5 July 2026 (UTC)
- I can't remember the last time a citeseerx link resolved to something. Which is weird, because the site itself was up last year. It seems dead dead now. I support deprecation and purging whenever another url/identifier is present. When only a citeseerx identifier/url is present, those should be handled manually. Headbomb {t · c · p · b} 02:35, 5 July 2026 (UTC)
- According to this search there are approximately 18000 articles with cs1|2 templates that use
|citeseerx=. Of those, - There are ~1000 articles with cs1|2 templates that have
|url=https://citeseerx.ist.psu.edu/.... - —Trappist the monk (talk) 14:03, 5 July 2026 (UTC)
- According to this search there are approximately 18000 articles with cs1|2 templates that use
- It looks like CiteSeerX used some kind of scripting to display the correct content, which couldn't be archived properly. No point having a field that can only point to dead or blank pages. There's also {{CiteSeerX}} that will need to be cleared. -- LCU ActivelyDisinterested «@» °∆t° 10:12, 5 July 2026 (UTC)
- Also
{{cite citeseerx}}which is used in ~400 articles. Instances of this template will require human intervention because the only allowed source parameter is|citeseerx=(this is the same for all of the preprint templates). - —Trappist the monk (talk) 14:29, 5 July 2026 (UTC)
- Also
- In the sandbox, I have marked
|citeseerx=as deprecated:{{Cite citeseerx/new|title=Cuban Economic Performance in Retrospect|author=Frank W. Thompson|citeseerx=10.1.1.824.487 }}- Frank W. Thompson. "Cuban Economic Performance in Retrospect". CiteSeerX 10.1.1.824.487.
{{cite CiteSeerX}}: Cite uses deprecated parameter|citeseerx=(help)
- Frank W. Thompson. "Cuban Economic Performance in Retrospect". CiteSeerX 10.1.1.824.487.
- The change also applies to the non-preprint cs1|2 templates.
- —Trappist the monk (talk) 14:29, 5 July 2026 (UTC)
Automatic refname for Visual Editor
[edit]|
I happened to see meta:WMDE Technical Wishes/References/VisualEditor automatic reference names. They are in the process of automating the refname that they will use for footnotes of the form There are two problems with that. (1) How are they going "ask"? (2) There are a lot of exceptions and complications to those rules and new problems are discovered all the time (See {{sfn/doc#Possible issues with author-date link}}). It occurred to me that you all here at CS 1 have already solved all those problems in order to make the CITEREF anchor. We have the code to take the parameters of almost any citation template and create a unique name. And we have work-arounds to use if that fails. I think it would be better, easier and more robust if the visual editor called a template to make the refname, so that the good people here at CS 1 could create refnames using the technology we already have to create anchors. They closed the discussion 4 days ago, but I pitched this idea in a Reply: EDIT: Please see complete proposal at User:CharlesGillingham/Drafts/A Proposal for the Visual Editors' ref names
The visual editor should call a template to get the refname. Each wiki could define their own version if they so choose. Given citation template with these parameters:
The visual editor creates this footnote:
And you create a default VE-REFNAME that does whatever you're doing now for refnames. This way, implementation and maintenance are all managed by the wiki, similar to option (2). It's less work for you all, it allows local wikis to handle maintenance (and with citations, there are hundreds of odd cases see Wikipedia:Tempate:sfn/doc. You can't just grab a field.) and it lets the wiki decide when to roll it out. Think about it.I'm not sure if it's too late for them to look at my suggestion. I hope not, because I am sure it is the right answer. If you can think of any way to help me pitch it, I would appreciate it. Regardless of what you think of my idea, we should all be paying attention to what they do at the visual editor, because that will become the defacto standard for Wikipedia. ---- CharlesTGillingham (talk) 03:28, 5 July 2026 (UTC)
Before you judge, consider my complete proposal, which I've prepared here: User:CharlesGillingham/Drafts/A Proposal for the Visual Editors' ref names. I need to know how where I should propose it. In answer to your arguments made in the paragraph above:
The problem of selecting a ref name is already solved here at CS 1. The solution is complete and robust, well tested for over 20 years. And going forward, CS 1 is able to fix problems and apply solutions much faster than Meta-Wiki. It's better to give control of the ref name to these people. Cheers. ---- CharlesTGillingham (talk) 16:35, 5 July 2026 (UTC)
|
Default ref-names for CS 1 templates (again)
[edit]|
I've posted a detailed argument here: And also an abbreviated version here: @Nardog: Notice that I've downgraded/clarified the proposal to producing the default ref names for CS 1. Please view this as an extension what you're already doing; it's just "allowing community members to add an additional line in TemplateData", as you said. It doesn't conflict or undo anything you're already doing. It's just a way for the visual editor to take advantage of a very strong code base and documentation that already exists. ---- CharlesTGillingham (talk) 12:43, 8 July 2026 (UTC)
|
doi-inactive messages
[edit]How do you suppress these? Hawkeye7 (discuss) 01:25, 11 July 2026 (UTC)
- You can run Citation bot. If the DOI is active,
|doi-broken-date=will be removed. Headbomb {t · c · p · b} 03:07, 11 July 2026 (UTC)
Replace repeating em dashes generated by the mask parameters with two‐ and three‐em dashes
[edit]Currently, a parameter like author-mask = 3 will generate three repeating em dashes (———). Since Unicode actually includes a three‐em dash (⸻) as well as a two‐em dash (⸺), I believe it would be better to use these seamless characters whenever possible, instead of using single em dashes with noticeable gaps. This could either be achieved by checking if the number is evenly divisible by 3 or 2 respectively (prioritizing the smallest amount of gaps for larger numbers), or by adding special exceptions for 3 and 2 only. VulpesVulpes42 (talk) 18:06, 13 July 2026 (UTC)
- Hard oppose. These are obscure characters. People will search for mdashes and they'll expect to find the masks. Having a special case for 2 or 3 mdashes is editor-hostile. MOS:SUP explains this in the context of superscript/subscript, but it's basically the same thing here except for dashes. Headbomb {t · c · p · b} 19:19, 13 July 2026 (UTC)
- The physical width of dashes (of whatever kind) varies with many factors. Operating system, installed fonts, browser, skin. Not to mention the user settings for all of these. For me, a row of three em-dashes has no gaps. Also, the claimed three-em dash is noticeably narrower than the row of three em-dashes: the former is 26px wide, the latter 39px (3 * 13px). That two‐em dash is 20px wide - half the width of the row of three. YMMV, as they say. --Redrose64 🌹 (talk) 22:45, 13 July 2026 (UTC)
Module:Citation/CS1/Date_validation posibble bug
[edit]there is possible bug Module:Citation/CS1/Date_validation#L-727 check_date() return only 2 values so COinS_date will be nil, another thing COinS_date is not used variable. حبيشان (talk) 17:31, 14 July 2026 (UTC)
- Not really a bug, just inert leftovers from previous versions. The module works as it should. But, yeah, fixed in the sandbox I think. I know that there are other like leftovers in the module suite which it is my intention to fix before the next update – which I should probably do soon...
- —Trappist the monk (talk) 18:26, 14 July 2026 (UTC)