Help talk:Citation Style 1
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, 96Auto-archiving period: 20 days |
To help centralise 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. | ||||||||||||||||||||||||||||
|
Other talk page banners | ||||
|
|
Best template to cite a webpage that is derived from a book
[edit]I noticed recently another editor citing one of my favorite webpages Flora of North America using the cite encyclopedia template rather than cite web as I have been doing. Would it be more correct to use cite book or cite encyclopedia instead of cite web for this source because it is first published in book form? 🌿MtBotany (talk) 16:34, 19 October 2024 (UTC)
- In this particular case, I think citing it as a website is better, calling it e.g. "Flora of North America Online", because, as noted here, some of the webpages have been changed from the earlier print versions. Peter coxhead (talk) 17:03, 19 October 2024 (UTC)
- Thanks Peter. I thought so, but better to ask than to guess. 🌿MtBotany (talk) 17:28, 19 October 2024 (UTC)
Title=none in newspaper and magazine citations
[edit]In {{cite journal}} (and {{citation}} with journal=), when there is no title url or link, it is acceptable to use title=none to suppress the title. This is useful in instances where there is no title or the title would be redundant, such as for book reviews where no real title exists (the review is just headed by a few lines of metadata about the item under review) or where several reviews are grouped together and would otherwise be given the same repeated and redundant title.
Less frequently, this would be useful to do on {{cite news}} and {{cite magazine}} as well. An example of this is Freshman's dream, where (to demonstrate the wide spread of the topic idea at the time of its original publication in 1938), one reference lists the original newspaper publication with its title and then four subsequent publications of the same piece, with the title deliberately stripped. In this case, the source code for Freshman's dream includes some very hacky code to hide the visible CS1 error messages that would be generated by omitting the titles, but it fails to suppress the error category that is also generated. It would be much cleaner if these could be formatted with title=none, but that doesn't work: for news or magazine citations (in this case as generated by {{citation}} and the newspaper= or magazine= parameter), this produces an actual visible "none" in the title position in the citation.
One alternative for Freshman's dream would be to pretend that these are all journals and use the journal citation ability to set title=none. A second alternative would be to give up on the citation templates as unable to handle anything non-formulaic and format the citations manually. A third alternative would be to modify the template code to be less inflexible and allow title=none for those citations. Or maybe there is a fourth alternative that I have missed. I don't think it's acceptable to force these citations to have titles, nor to try to extend the hacky code already there to also suppress the category. Are the third or fourth alternatives possible, or do we have to give up on using citation templates? —David Eppstein (talk) 01:11, 20 October 2024 (UTC)
- David Eppstein, withholding comment on the substance of this matter, but I did suppress the error category using a non-hacky method (in addition to implementing a possibly dubious format change). Please feel free to revert if desired. Folly Mox (talk) 16:36, 20 October 2024 (UTC)
- Thanks! So fourth alternative: no-tracking =y. We do still have the hacky error message removal code that it would be nice to avoid, but that's less urgent. —David Eppstein (talk) 16:40, 20 October 2024 (UTC)
DOI limit should be bumped
[edit]doi:10.70163/0036-0252.1157 is valid. The limit should be bumped to 10.80000 Headbomb {t · c · p · b} 19:05, 21 October 2024 (UTC)
Why is Slovene not recognized?
[edit]Re Template:Citation Style documentation/language. Why is |lang=Slovene
, as in Slovene language, not recognized for sl
? (See Template:Citation Style documentation/language/doc for list.) — AjaxSmack 23:14, 21 October 2024 (UTC)
- AjaxSmack, have you tried
|language=sl
? Category:CS1 Slovenian-language sources (sl) (5,415) seems to be populated. Folly Mox (talk) 23:36, 21 October 2024 (UTC) - Because MediaWiki does not recognize 'Slovene' as an alias of 'Slovenian' which is the language name that MediaWiki assigns to the language tag
sl
:{{#language:sl|en}}
→ Slovenian
- cs1|2 uses MediaWiki's list of languages when rendering citations.
- —Trappist the monk (talk) 00:15, 22 October 2024 (UTC)
- Where did MediaWiki learn English? — AjaxSmack 02:47, 22 October 2024 (UTC)
- Maybe the ISO? – Jonesey95 (talk) 19:29, 22 October 2024 (UTC)
- Where did MediaWiki learn English? — AjaxSmack 02:47, 22 October 2024 (UTC)
author-link without author
[edit]Hello, there appears to be no trap for using |author-link=
when there is no corresponding |author=
.
- {{cite book|author=|author-link=[[Edward Heath]] |title=Book example }}
- Book example.
May be an error message should be output. Keith D (talk) 21:23, 22 October 2024 (UTC)
- I have wondered about that and also
|author-mask=
(and the similar|contributor=
,|editor=
,|interviewer=
,|translator=
parameters). We do catch|display-authors=
when matching author-name parameters are missing and we catch|firstn=
when matching|lastn=
is omitted so it seems to me that for completeness, we should also be catching|author-linkn=
and|author-maskn=
when matching author-name parameters are missing. - I don't think that it is possible to search for something (
|author-link=
) and the absence of another thing (|author=
or alias) so I have no idea how many articles have the one without the other. We could categorize into maint or properties cats to gauge whether or not to turn on error messaging for these parameter issues. - —Trappist the monk (talk) 22:07, 22 October 2024 (UTC)
- A maintenance cat would give us the scope of the problem. Keith D (talk) 11:48, 23 October 2024 (UTC)
cite thesis first=aaa bbb, Jr.
[edit]|first=James Thomas, Jr.
causes
Script warning: One or more {{cite thesis}}
templates have maintenance messages; messages may be hidden (help).
69.181.17.113 (talk) 15:00, 24 October 2024 (UTC)
- Of course. See MOS:JR.
- —Trappist the monk (talk) 15:31, 24 October 2024 (UTC)
Way to link the encyclopedia with {{cite encyclopedia}}
[edit]When you're citing a book with the cite book template, you can use title-link= to link to the book's wikipedia article, but since on cite encyclopedia the title parameter is for the chapter and not the work title, it doesn't let you link to the encyclopedia. Is there any fix for this, because I find it very annoying. Generally this template just seems to be a slightly worse version of {{Cite book}}
, which fulfills its purpose the same way. Maybe they should be merged? PARAKANYAA (talk) 03:05, 25 October 2024 (UTC)
- PARAKANYAA, use
|entry=
and|title=
instead of|title=
and|encyclopaedia=
. This will alias correctly and allow for usage of|title-link=
. Your assessment ofa slightly worse version of
is shared. Folly Mox (talk) 10:41, 25 October 2024 (UTC){{Cite book}}
- See also Help talk:Citation Style 1/Archive 92 § cite encyclopedia (January 2024). Folly Mox (talk) 12:14, 25 October 2024 (UTC)
strange capitalization
[edit]Why was {{cite web}} unilaterally capitalized in the documentation just recently? — Fourthords | =Λ= | 18:16, 25 October 2024 (UTC)
- Editor MtBotany made that edit. Best to ask them. So far as I know, there was no discussion here mandating that change.
- —Trappist the monk (talk) 18:29, 25 October 2024 (UTC)
- I'd planned to ask at template talk:cite web (per my original wording), but figured here was the only place to ask, given the redirection. — Fourthords | =Λ= | 20:13, 25 October 2024 (UTC)
- @Fourthords I thought it was the correct style based on what I have seen used in other templates. If I am wrong I apologize and feel free to correct what I did. 🌿MtBotany (talk) 18:32, 25 October 2024 (UTC)
- I have no idea whether you were incorrect to do so; that's why I asked. What I can say is that it doesn't match the documentations at {{cite book}}, {{cite magazine}}, {{cite news}}, and {{cite journal}}. — Fourthords | =Λ= | 20:13, 25 October 2024 (UTC)
- You're right about that. I assumed that all templates used the same style of first letter capitalized to match with the way it is in the name of the page. I had also seen it capitalized that way in the documentation of Template:Reflist. It does work either way, but I was trying for consistency and made things more confused rather than less. 🌿MtBotany (talk) 20:47, 25 October 2024 (UTC)
- I have no idea whether you were incorrect to do so; that's why I asked. What I can say is that it doesn't match the documentations at {{cite book}}, {{cite magazine}}, {{cite news}}, and {{cite journal}}. — Fourthords | =Λ= | 20:13, 25 October 2024 (UTC)
SSRN update request
[edit]Rio do Rasto Formation has this working SSRN link but it's being flagged as incorrect. Category:CS1 errors: SSRN said to mention it here as it's above the 4900000 range. Thanks! MrLinkinPark333 (talk) 02:16, 27 October 2024 (UTC)
- IslamPidia might be deleted or moved by the time this issues is resolved, but it includes a working SSRN numbered 5000986. The SSRN error help page currently says numbers up to 5000000 are valid. Maybe we should bump it up to 5100000? Snowman304|talk 19:14, 2 November 2024 (UTC)
PMC limit update
[edit]PMC 11508991 - 11508991 - confirmed by pmid & doi @ Anderus maculifrons - ref 3 and also others new 6245 & 6159 checked from errors: PMC Dave-okanagan (talk) 07:22, 28 October 2024 (UTC)
Work vs. Publisher
[edit]This template includes both "work" and "publisher" - what then is the semantic difference between the two? Also, in what circumstance might both be utilised?
Enquire (talk) 21:01, 28 October 2024 (UTC)
- See Help:Citation Style 1 § Work and publisher.
- —Trappist the monk (talk) 21:52, 28 October 2024 (UTC)
Wikibooks for CS1|2
[edit]Looking at the above discussion about Help:Citation Style 1 § documentation for work and publisher, it's surprising no one has ever created a Wikibook for CS1|2. It would be genuinely useful to a lot of people. And could be better than current documentation, there are no space or formatting constraints. It's like the difference between templates written in wikitext vs. Lua -- one can be made to work for short and easy tasks, the other is the proper way to scale larger jobs. The CS1|2 docs are now large and complex. Here is a Wikibook on LaTeX, and other computer books. -- GreenC 04:44, 29 October 2024 (UTC)
URLs, for volume and issue and page
[edit]If a magazine/journal article doesn't have a proper URL, but proper URLs exist for a page that is being cited, or an entire issue that was scanned, or to a compendium; such as a hardbound yearly volume that was scanned; then shouldn't there be |volume-url=
, |issue-url=
, |page-url=
/ |at-url=
available? Bluelinking the article title would seem off, considering that entering a DOI doesn't bluelink the article title. And subbing in an entire year/volume url under the article title instead of the volume id doesn't give a reader the article they think they've been pointed to. -- 65.92.246.77 (talk) 11:13, 30 October 2024 (UTC)
|at=
and|page=
will accept external links as values without throwing an error like the rest of the template parameters. You might have to do some manual formatting (especially if you're using|at=
to link a volume, and have to leave out the|volume=
parameter to offset— a form of parameter abuse someone here is likely to inveigh against).Also, entering a DOI in combination with|doi-access=free
will bluelink the title, for {{cite journal}} only. Folly Mox (talk) 11:20, 30 October 2024 (UTC)- Cite what you see. If you are reading a book that is a yearly bound volume of magazine releases, then make the reference to that book rather than the magazine. -- LCU ActivelyDisinterested «@» °∆t° 11:22, 30 October 2024 (UTC)
- What I can read and what I can provide a URL to can be different. In one case, I can access a volume URL, but I can access a physical copy, which is just an issue. It would be nice if page/at had URL params. I'll give the URL encoded in page/at params a go, to link to the particular point where a piece referenced data occurs -- 65.92.246.77 (talk) 22:39, 31 October 2024 (UTC)
- While
|page-url=
would be nice,|page=[url#page=pdfpage pageno]
works well.-- Shmuel (Seymour J.) Metz Username:Chatul (talk) 13:28, 1 November 2024 (UTC)
- While
- What I can read and what I can provide a URL to can be different. In one case, I can access a volume URL, but I can access a physical copy, which is just an issue. It would be nice if page/at had URL params. I'll give the URL encoded in page/at params a go, to link to the particular point where a piece referenced data occurs -- 65.92.246.77 (talk) 22:39, 31 October 2024 (UTC)
Two dots at the end?
[edit]I noticed that this template appears to add two dots at the end of the citation for no obvious reason. See External links on this page for an example (there is only one external link). Can somebody figure out why this happens and fix it?
— SkyLined (talk) 09:29, 4 November 2024 (UTC)
- While I confirm that the citation appears in the link above with double dots, the exact same template, copied, doesn't produce double dots (for me, anyway!) here:
- "RFC 7617 - The 'Basic' HTTP Authentication Scheme". Internet Engineering Task Force (IETF). September 2015.
- (Also the link as generated by Citer doesn't produce double dots in the original context.)
- Pol098 (talk) 12:33, 4 November 2024 (UTC)
- The extra dot was placed after one of the categories for the article. Since categorisation doesn't render in place, but rather at the page foot, it made it appear as if the dot was produced by the citation template. I removed it. Folly Mox (talk) 12:40, 4 November 2024 (UTC)
- Thanks for spotting and fixing that!
- It currently renders as
The 'Basic' HTTP Authentication Scheme. Internet Engineering Task Force. September 2015. doi:10.17487/RFC7617. RFC 7617.
which has more than a few dots and repeats the RFC number. That looks weird to me - is that how it is supposed to look? - — SkyLined (talk) 02:54, 5 November 2024 (UTC)
{{cite IETF}}
is not a cs1|2 template. It is a wrapper around{{citation}}
. If you believe that that{{cite IETF}}
should render differently, you must discuss that at the template's talk page.- —Trappist the monk (talk) 14:38, 5 November 2024 (UTC)
- The extra dot was placed after one of the categories for the article. Since categorisation doesn't render in place, but rather at the page foot, it made it appear as if the dot was produced by the citation template. I removed it. Folly Mox (talk) 12:40, 4 November 2024 (UTC)
length or running time parameters
[edit]This page was given as Talk for Cite AV Media template.
Nowhere do I find any parameter for the size of the media as in "pages=" for books; the "time=" parameter is described as a location in the work, like "page=" or "at=".71.230.16.111 (talk) 05:26, 9 November 2024 (UTC)
- @71.230.16.111: we typically don't list the size of a work in that way in a citation.
|pages=
is for a page range of a location within a book or other work, not the total size. That parameter is used to prefix the plural "pp." in front of a group of pages instead of the singular "p.", and it's not for the total pages in a book. This might be the source of confusion for you. Imzadi 1979 → 05:54, 9 November 2024 (UTC)
- I use
|type=Video (23'34")
. Unlike, say, a book, AV media are sequential, not random, access, so the length is more relevant to the reader. If this suggestion is generally liked, it could be added to the documentation of {{Cite AV media}}. Documentation for|type=
at present includes "Alias:|medium=
. Use one of the following as applicable: Motion picture, Television production, Videotape, DVD, Blu-ray, Trailer, CD, Radio broadcast, Podcast". Best wishes, Pol098 (talk) 13:08, 9 November 2024 (UTC)
- I use