Jump to content

Help talk:Citation Style 1

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 4 hours ago by Trappist the monk in topic Module:Citation/CS1/Date_validation posibble bug

    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)Reply

    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)Reply
    "Hello" - Written on my Pixel 8. Headbomb {t · c · p · b} 10:59, 16 June 2026 (UTC)Reply
    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)Reply
    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)Reply
    See also my message further down for more technical info on the error Manboobies (talk) 17:25, 28 June 2026 (UTC)Reply
    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)Reply
    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)Reply
    @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)Reply
    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)Reply
    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)Reply
    "Most young people are using iPhones." this is only true in the US. -- LCU ActivelyDisinterested «@» °∆t° 22:17, 28 June 2026 (UTC)Reply
    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)Reply
    I can't reproduce the issue described above.
    The wikitext:
    One.<ref name=“test”>Test reference.</ref> Two.<ref name=“test”/> {{reflist}}
    
    Gives the following output:
    One.[1] Two.[1]
    1. ^ a b Test reference.
    That seems to work? Rjjiii (talk) 13:48, 29 June 2026 (UTC)Reply
    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)Reply
    @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)Reply

    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)Reply

    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)Reply

    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.{{cite web}}: CS1 maint: deprecated archival service (link)) is today. It returns a Script warning maintenance message. How should the reference be handled? —GoldRingChip 15:13, 26 June 2026 (UTC)Reply

    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)Reply

    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)Reply

    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)Reply
    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)Reply
    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)Reply

    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)Reply

    Wikipedia:Templates for discussion/Log/2025 June 13#Template:Vcite journal
    Trappist the monk (talk) 01:07, 30 June 2026 (UTC)Reply

    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.

    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)Reply

    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)Reply
    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)Reply

    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)Reply

    |others= could be a solution to this issue. -- LCU ActivelyDisinterested «@» °∆t° 12:35, 3 July 2026 (UTC)Reply
    I think that is the solution. Thank you. Viriditas (talk) 23:13, 3 July 2026 (UTC)Reply
    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)Reply
    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)Reply
    If they're on the author page they're authors. PARAKANYAA (talk) 19:30, 3 July 2026 (UTC)Reply
    They aren't authors. The 1970s was a way different time. Viriditas (talk) 23:13, 3 July 2026 (UTC)Reply

    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: CiteSeerx10.1.1.477.4527. Clicking that link will redirect to a blank archive.org snapshot:

    https://web.archive.org/web/20241216063406/https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.477.4527

    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)Reply

    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)Reply
    Yes.
    Trappist the monk (talk) 14:03, 5 July 2026 (UTC)Reply
    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)Reply
    According to this search there are approximately 18000 articles with cs1|2 templates that use |citeseerx=. Of those,
    • ~14000 have templates with |doi= followed by |citeseerx=
    • ~1600 have templates with |citeseerx= followed by |doi=
    • ~4100 have templates with |url= followed by |citeseerx=
    • ~500 have templates with |citeseerx= followed by |url=
    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)Reply
    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)Reply
    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)Reply
    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)
    The change also applies to the non-preprint cs1|2 templates.
    Trappist the monk (talk) 14:29, 5 July 2026 (UTC)Reply

    Automatic refname for Visual Editor

    [edit]

    Default ref-names for CS 1 templates (again)

    [edit]

    doi-inactive messages

    [edit]

    How do you suppress these? Hawkeye7 (discuss) 01:25, 11 July 2026 (UTC)Reply

    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)Reply

    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)Reply

    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)Reply
    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)Reply

    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)Reply

    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)Reply