Jump to content

Help talk:Citation Style 1: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Line 259: Line 259:
::::::::::: To add: Citation formatting developed/descended from bibliographic formatting, which developed/descended from catalog formatting (of works in libraries, mainly). Sources (works) have been generally classified by the published unit (book, periodical, website, audio/video recording etc.). So when citations point to specific locations within sources, the page or some other marker is necessary, in order to easily find the cited in-source item. For citation purposes, the total number of pages (or bytes, or minutes) is irrelevant. Bibliographies (like catalogs) sometimes include that information, mainly to further distinguish editions/versions. [[Special:Contributions/68.132.154.35|68.132.154.35]] ([[User talk:68.132.154.35|talk]]) 15:38, 23 June 2022 (UTC)
::::::::::: To add: Citation formatting developed/descended from bibliographic formatting, which developed/descended from catalog formatting (of works in libraries, mainly). Sources (works) have been generally classified by the published unit (book, periodical, website, audio/video recording etc.). So when citations point to specific locations within sources, the page or some other marker is necessary, in order to easily find the cited in-source item. For citation purposes, the total number of pages (or bytes, or minutes) is irrelevant. Bibliographies (like catalogs) sometimes include that information, mainly to further distinguish editions/versions. [[Special:Contributions/68.132.154.35|68.132.154.35]] ([[User talk:68.132.154.35|talk]]) 15:38, 23 June 2022 (UTC)
:::::::::::: Okay, thanks for that explanation. I'll also repeat that the lack of need for this information doesn't appear to be explained to the editing community. Or at least I couldn't readily find it. The information about the number of pages is provided on some sources for citations, such as NASA ADS, so it seems appropriate to include it in a cite. Perhaps even a footnote on the topic would be useful? [[User:Praemonitus|Praemonitus]] ([[User talk:Praemonitus|talk]]) 14:06, 24 June 2022 (UTC)
:::::::::::: Okay, thanks for that explanation. I'll also repeat that the lack of need for this information doesn't appear to be explained to the editing community. Or at least I couldn't readily find it. The information about the number of pages is provided on some sources for citations, such as NASA ADS, so it seems appropriate to include it in a cite. Perhaps even a footnote on the topic would be useful? [[User:Praemonitus|Praemonitus]] ([[User talk:Praemonitus|talk]]) 14:06, 24 June 2022 (UTC)
::::::::::::: Well, footnotes and citations are different things and exist for different reasons. Also, it is not useful to compare citations in Wikipedia with any other formal system, or any institutional practice. Wikipedia articles (and their citations, if any) are written by anonymous contributors of uncertain expertise, and are geared to a general, non-expert audience. As for this citation "style" (a misnomer as it includes many non-style-related elements), it is highly structured as far as Wikipedia norms are concerned, and accepts the data that fit the project parameters. In CS1, if there is no reference to a certain property (such as work length), it is highly likely that such property is not part of the system, and should not be expected to make an appearance. Highly structured does not mean correctly structured, but in the particular case under discussion CS1 is codifying the correct approach imo. [[Special:Contributions/68.132.154.35|68.132.154.35]] ([[User talk:68.132.154.35|talk]]) 18:42, 24 June 2022 (UTC)
:{{para|page}} and {{para|pages}} are not {{tq|required parameters}} for {{tlx|cite magazine}} nor for any of the other 20-ish cs1|2 templates. Are you seeing something somewhere that says that in {{tld|cite magazine}} {{para|page}} or {{para|pages}} {{em|is}} required? If so, where are you seeing that 'requirement'?
:{{para|page}} and {{para|pages}} are not {{tq|required parameters}} for {{tlx|cite magazine}} nor for any of the other 20-ish cs1|2 templates. Are you seeing something somewhere that says that in {{tld|cite magazine}} {{para|page}} or {{para|pages}} {{em|is}} required? If so, where are you seeing that 'requirement'?
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 12:02, 22 June 2022 (UTC)
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 12:02, 22 June 2022 (UTC)

Revision as of 18:42, 24 June 2022

    Citation templates
    ... in conception
    ... and in reality

    False positive on bibcode:2019ISPAr42W19..207

    This says there's an error in the bibcode

    • Fesalbon, R. M. A.; Blanco, A. C. (2019). "Hydropower Dam Site Selection and Visualization Using Gis and Rs Techniques: A Case of Marinduque, Philippines". The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. 42W1: 207–214. Bibcode:2019ISPAr42W19..207. doi:10.5194/isprs-archives-XLII-4-W19-207-2019. S2CID 210896283. {{cite journal}}: Check |bibcode= value (help)CS1 maint: unflagged free DOI (link)

    There isn't, it's a valid one. One of the tests needs to be adjusted. Headbomb {t · c · p · b} 03:55, 24 May 2022 (UTC)[reply]

    Same for {{bibcode}} = Bibcode:2019ISPAr42W19..207Check bibcode: value (help) Headbomb {t · c · p · b} 03:56, 24 May 2022 (UTC)[reply]
    I see whats gone wrong here. According to the official rules here, the last character should be The first letter of the last name of the first author, but somehow its a 7. The regex that confirms if this is valid was only expecting for a letter or dot for this reason. Im not sure if this is a misissuing or what, but for now, ill simply change the regex a bit. If someone who works on citations a lot could follow up on this, that'd be nice. Aidan9382 (talk) 04:36, 24 May 2022 (UTC)[reply]
    @Headbomb: I've fixed it as much as i can, but I can only fix the direct {{bibcode}} one, and not the citation one. I guess just use that for now until someone else comes along and gives hopefully more of an insight. Aidan9382 (talk) 04:40, 24 May 2022 (UTC)[reply]
    Hhmmm... If the test that's failed is the final character needing to be a letter... we might be better off having an exception for the article than a change to the rule. Headbomb {t · c · p · b} 04:51, 24 May 2022 (UTC)[reply]

    The double (( )) doesn't seem to do anything though.

    Headbomb {t · c · p · b} 04:53, 24 May 2022 (UTC)[reply]

    The (( )) markup (Accept as written markup) has to be defined explicitely for values as far as im concerned, and its not just available to supress all errors. Ill see if i can add it to check_bibcode, but actual citations will need more input. Also yeah, maybe adding an exception was a better idea, my mistake! Aidan9382 (talk) 04:57, 24 May 2022 (UTC)[reply]
    @Headbomb: Ok im not gonna implement that. Looking at the solo implementation of elements that use the AAW markup (like ISBN) shows that its actually a feature of Citations/CS1's implementation only. I think you'll just have to let the error sit there until a potential fix comes along. Im not totally opposed to implementing an AAW addition for the solo if really needed, im just worried about going against common practice on something as major as citations. Aidan9382 (talk) 05:02, 24 May 2022 (UTC)[reply]
    Have you notified the bibcode people about this? If the rule has changed, they should document the rule change; if the rule has not change and the bibcode is malformed they should assign a proper bibcode to that source (they can keep the malformed bibcode as a redirect).
    Trappist the monk (talk) 13:38, 24 May 2022 (UTC)[reply]
    Ill go ahead and notify them about it. Ill post any eventful updates (E.g. if its changed) here. Aidan9382 (talk) 13:44, 24 May 2022 (UTC)[reply]

    @Headbomb: Got a response back, it was a misissuing. It's been fixed, but its not gonna update on the database until friday. The new bibcode will end up being 2019ISPAr4219..207F. I'm telling you now since I'll end up forgetting if i don't. Aidan9382 (talk) 19:02, 25 May 2022 (UTC)[reply]

    CS1 errors: dates

    Hello, wondered if anyone knows what has happened to category:CS1 errors: dates which has gone up by over 100 entries. New ones in the category do not show an entry in the hidden categories on the page. It could be that some template was changed and the jobqueue is still processing them. Keith D (talk) 17:11, 25 May 2022 (UTC)[reply]

    could you link some of the new ones? Aidan9382 (talk) 17:31, 25 May 2022 (UTC)[reply]
    Since they all seem to be music-related, I'm guessing that this template change fixed a temporary problem that was causing a bunch of date errors, and now the job queue is removing the affected articles from the category. – Jonesey95 (talk) 17:51, 25 May 2022 (UTC)[reply]
    Thanks, it looks like it is slowly returning to the previous level. Keith D (talk) 20:11, 25 May 2022 (UTC)[reply]
    The category seems to be stable at 5,820 pages right now. I am very impressed by the steady progress that editors have made in reducing the number of pages in this category. I know that beyond a certain point of easy fixes, correcting each error requires actual manual work to determine and implement the right change. Nice work. – Jonesey95 (talk) 21:27, 25 May 2022 (UTC)[reply]

    URL access restriction for non-accessible sources

    The instructions don't seem to say what to put for |url-access= for something that is simply not accessible to the public at all – e.g., a document that may exist but is internal to an institution. For example, Utah Tech University has a citation to this, something that appears to only be accessible to employees and/or students of the university. The meaning of the "limited" value seems to be that it is still possible, within some limits, "to freely access this source". But "subscription" is not accurate either, since it is not possible to obtain "a paid subscription with the provider". The limit is more formidable than a "paywall". —⁠ ⁠BarrelProof (talk) 02:23, 30 May 2022 (UTC)[reply]

    @BarrelProof - Per Template:Cite_web#Access_indicators_for_url-holding_parameters, I suggest |url-access=registration. Happy editing! GoingBatty (talk) 04:16, 30 May 2022 (UTC)[reply]
    I disagree. The url takes the reader to a login page that wants a 'Digital ID@utahtech.edu' identifier. That implies that those who have the requisite IDs are faculty, staff, or students at Utah Tech University. When rendered, |url-access=registration tells cs1|2 templates to emit a tool tip that says: 'Free registration required'. There is no indication at the sign-in page how to get a 'free registration'.
    I have fixed the citation template. I also deleted the archive-url because an archived copy of a sign-in page is more-or-less pointless
    Trappist the monk (talk) 14:38, 30 May 2022 (UTC)[reply]
    Agree with Trappist, but personally would take it further, because as noted, there is no publicly available subscription. Is that school's "Faculty Termination Policy" non-public? If so, citing it in Wikipedia may not be acceptable, and technically may violate CS1 guideline that sources be published (i.e. available to the general public). I would try to find other, public sources to support the wikitext. The restriction should include archives of non-public sources when they actually provide the content. Bad form. 68.173.78.83 (talk) 16:56, 30 May 2022 (UTC)[reply]

    Translation year

    Hello there! A query. For a source like

    Sallust (1921) [1st century BC]. "Bellum Catilinae". Sallust. Loeb Classical Library. Translated by Rolfe, John C. Cambridge: Harvard University Press – via LacusCurtius.

    It isn't really the case that Sallust (who died in 35 BC) wrote the thing in 1921. The year of (this specific Loeb) translation was 1921, but would it be possible to have something like a translation-date parameter which could place closer to the translator rather than perhaps implying that Sallust lived for two thousand years? (And if some parameter already does this, please direct me to it!) Maybe something like:

    Sallust [1st century BC]. "Bellum Catilinae". Sallust. Loeb Classical Library. Translated by Rolfe, John C (1921). Cambridge: Harvard University Press.

    Thanks. Ifly6 (talk) 13:35, 3 June 2022 (UTC)[reply]

    It is not a good idea to read citations as text, or as part of article prose. They utilize shorthand, ideally according to the way works are classified, hopefully presenting the best & easiest way to find the source. Neither prose-related aesthetics or semantics enter into it. As part of the article's end matter, they have their own semantics. Works are often classified and found by author and date of publication as it appears in the cited edition, and/or also by title of publication. There is no classification system that utilizes the translation date as far as I know. Certainly not in the indexing of works. I would not expect that information will help in locating the source. 50.75.226.250 (talk) 14:42, 3 June 2022 (UTC)[reply]
    Classical scholars do not classify by translation date; that is why I am asking as to how we can move the translation date from the front to the middle. In classical scholarship, the primary sources are cited entirely without dates. Not only because the dates are usually unknown (the publication date of Bellum Catilinae is still debated, the TAQ is 35 and TPQ is 44) but also because the primary sources are not organised that way. They are organised by author and title. See https://guides.library.yale.edu/classics/classics-abbreviations ; eg, the Oxford Classical Dictionary abbreviation (commonly used in English-language scholarship), for the cited material is merely Sall. Cat. without reference to any specific translation. There is usually no reference to any specific translation because classical scholarship assumes you do not need any specific translation. Ifly6 (talk) 15:07, 3 June 2022 (UTC)[reply]
    The date provided in the |date= field should be the date of publication, not the date of translation, which (for citation purposes) is not relevant. I would not compare or contrast Wikipedia citations with any scholarly, academic, or expert reference system. They target very dissimilar audiences. 50.75.226.250 (talk) 15:35, 3 June 2022 (UTC)[reply]
    I often see citations to ancient works and wonder just how they manage to slip through the RS dragnets. Consider carefully whether you should even be citing such works.
    The first citation looks fine and exactly like what you need/want. It indicates the modern date of publication and the original date of authorship, which is the purpose of the parameters you've used. Izno (talk) 16:01, 3 June 2022 (UTC)[reply]
    Ancient works are primary sources, they are fine when the text is not based on them and only used as illustration.
    "The first citation looks fine and exactly like what you need/want.", not really. Most ancient sources cannot be dated, and the translation date still appears before the date of writing, which is very confusing. T8612 (talk) 16:27, 3 June 2022 (UTC)[reply]
    Then I'll refer you to IP50's commentary. I don't see a reason to make a change here. Izno (talk) 16:33, 3 June 2022 (UTC)[reply]
    Ifly6 and T8612: The citation is describing a published source, and the citation is structured so that interested readers can locate the cited source and verify its content for themselves. Saying that the source was published in 1921 is what we want, since that will help a reader go to a library or internet archive and find the matching source. – Jonesey95 (talk) 17:25, 3 June 2022 (UTC)[reply]
    The blanket statements of disdain for ancient sources here are Wikipedia:Recentism in its purest form. Some ancient sources such as Euclid's Elements are secondary, not primary, and are very reliable for what they source. Just like with modern sources, one must determine ancient source reliability individually and with care. —David Eppstein (talk) 20:14, 19 June 2022 (UTC)[reply]

    Linking to commercial publishers: Exception?

    The page currently reads: "Do not link to: [...] Commercial sites such as Amazon, unless no alternative exists."

    Would it be alright to add an exception clause for open access books, often which are available on commercial sites?

    See e.g. [here https://global.oup.com/academic/open-access/titles/?cc=jp&lang=en&].

    Even if this is stated or implied elswhere on the page (I didn't see it if it is, sorry), it'd be good to add a short clarification clause where the page talks about linking to commerical sites. Cameron.coombe (talk) 00:01, 5 June 2022 (UTC)[reply]

    The reasoning behind the commercial link warning is that Wikipedia should not be used as a marketing or sales tool. However open access sources are free, and I would think it obvious they would be allowed irrespective of the platform. I would support such clarification, if one is needed. I don't think there is a problem with citations linking to the site in your example.
    As an aside, I sometimes archive live webpages on sales sites such as online stores, and then cite the archive only, so a sale cannot be done from the link. Make sure that the archive is a true screenshot with all links/scripts disabled. 68.132.154.35 (talk) 16:32, 5 June 2022 (UTC)[reply]

    Generic title

    Hello, could |title=Login be added as a generic title, |title=Login • Instagram appears to produce the "Cite uses generic title (help)" but not just |title=Login. Keith D (talk) 18:31, 10 June 2022 (UTC)[reply]

    In my usage "Login" would be the title, while "Instagram" is either the work/website or the publisher, depending on this specific context. SamuelRiv (talk) 20:39, 23 June 2022 (UTC)[reply]

    DOI question

    I've had this problem before and anyone I have asked seems to know of no solution. I posted a query to the help desk to see if more eyes than my circle of editing people could find a solution and they referred me here. We have url and chapter-url, but as far as I can tell, there is no similar way to mark the doi and chapter-doi. And, yes, I know that it isn't required to have a link, but if you are preparing a GA or FA, its good to have them in the article for a review, besides which, as the writer, I may go back and recheck a ref. The case I am working on right now is book and chapter. The url links can't be used as they are proxied. (I am definitely challenged by wikitechnology, so I need step by step instructions that are easy to follow.) Thanks to anyone who might be able to help or offer a solution. SusunW (talk) 13:09, 11 June 2022 (UTC)[reply]

    I understand that for citations you only need to provide the DOI numbers. It's up to readers to work out how to access the text. In your case, doi:10.3138/9781487542122-015 works for the chapter, and doi:10.3138/9781487542122 for the book. -- Michael Bednarek (talk) 13:29, 11 June 2022 (UTC)[reply]
    PS: If you're citing the chapter, simply use the chapter DOI and omit the book DOI. The ISBN is enough to identify the book. -- Michael Bednarek (talk) 13:34, 11 June 2022 (UTC)[reply]
    (edit conflict)
    Please don't include urls that have wikipedialibrary subdomains in live articles; no reader can follow that url to its destination and I would suspect that most editors do not have privilege of the wikipedialibrary. I've been seeing more of those urls recently.
    This question is about this?:
    {{cite book |last1=Huneke |first1=Samuel Clowes |title=States of Liberation: Gay Men Between Dictatorship and Democracy in Cold War Germany |doi=10.3138/9781487542122 |date=2022 |publisher=[[University of Toronto Press]] |location=Toronto |chapter=9 A Golden Age in the Grey Republic: Liberation and the Stasi in East Germany |chapter-doi=10.3138/9781487542122-015 |pages=189-225 |isbn=978-1-4875-4212-2}}
    No identifier used in cs1|2 template has separate work/subsection forms. Generally it is not necessary to supply the doi of the work if you are providing the doi of a subsection. For example, it is easy to get to the work from the chapter's doi:10.3138/9781487542122-015 landing page which has multiple links to the States of Liberation landing page.
    If you must, you can add the work's doi this way: |id={{doi|10.3138/9781487542122}}:
    {{cite book |last1=Huneke |first1=Samuel Clowes |date=2022 |chapter=A Golden Age in the Grey Republic: Liberation and the Stasi in East Germany |doi=10.3138/9781487542122-015 |title=States of Liberation: Gay Men Between Dictatorship and Democracy in Cold War Germany |id={{doi|10.3138/9781487542122}} |isbn=978-1-4875-4212-2 |location=Toronto |publisher=[[University of Toronto Press]] |pages=189–225}}
    Huneke, Samuel Clowes (2022). "A Golden Age in the Grey Republic: Liberation and the Stasi in East Germany". States of Liberation: Gay Men Between Dictatorship and Democracy in Cold War Germany. Toronto: University of Toronto Press. pp. 189–225. doi:10.3138/9781487542122-015. ISBN 978-1-4875-4212-2. doi:10.3138/9781487542122.
    Trappist the monk (talk) 13:44, 11 June 2022 (UTC)[reply]
    Thank you, Trappist the monk! That answers my question. For the life of me, I cannot understand why wikitechnology is not intuitive and requires so many hoops to be jumped through. I truly appreciate your help. And yes, I know not to use the proxied link, but the only way to give the example was to use it. SusunW (talk) 14:21, 11 June 2022 (UTC)[reply]

    wikipedialibrary urls

    If anyone is looking for something to fix... this search returns about 180 articles that have wikipedialibrary urls.

    Trappist the monk (talk) 14:04, 11 June 2022 (UTC)[reply]

    The following reference from Hurwitz's theorem (number theory) throws an error, because we don't allow links to volumes of journals.

    But in this case, the content of the link really is the volume of the journal, and the individual paper is more difficult to link. Any suggestions for how to format in a way that both makes sense and makes the templates happy? —David Eppstein (talk) 07:25, 17 June 2022 (UTC)[reply]

    Proposed document edit

    Currently the Work section contains the following sentence:

    Aliases: journal, newspaper, magazine, periodical, website.

    However, at least in the case of journal, the citation format can change from the layout for the 'work' option. For example:

    work= : Gontcharov, G. A. (November 2006), "Pulkovo Compilation of Radial Velocities for 35495 Hipparcos stars in a common system", Astronomy Letters, vol. 32, no. 11, pp. 759–771, arXiv:1606.08053, Bibcode:2006AstL...32..759G, doi:10.1134/S1063773706110065, S2CID 119231169.
    journal= : Gontcharov, G. A. (November 2006), "Pulkovo Compilation of Radial Velocities for 35495 Hipparcos stars in a common system", Astronomy Letters, 32 (11): 759–771, arXiv:1606.08053, Bibcode:2006AstL...32..759G, doi:10.1134/S1063773706110065, S2CID 119231169.

    I'm proposing the sentence be changed to the following:

    Aliases: journal, newspaper, magazine, periodical, website. (The alias journal will modify the citation format.)

    Praemonitus (talk) 16:57, 20 June 2022 (UTC)[reply]

    @Praemonitus I have no objection to you adding this clarification to the documentation. Be bold and make the edit! Thank you for your efforts to improve the documentation! GoingBatty (talk) 03:47, 24 June 2022 (UTC)[reply]

    I started a discussion at Wikipedia:Village_pump_(technical)#Proposal_to_change_citation_templates_which_hurt_articles'_Google_ranking and was told about this page. I'm not sure if this discussion will move here, but if not at least there is a link to the VP discussion.--Epiphyllumlover (talk) 17:48, 21 June 2022 (UTC)[reply]

    Yes, I've seen quite a few such template instances that have an archive link but are still active. Perhaps the bot is checking the links at a time when there is an outage or a certificate issue? Sometimes it can be as simple as the link changing from http to https. Praemonitus (talk) 01:49, 22 June 2022 (UTC)[reply]
    Among the suggestions at the Village Pump was to change the dead links to plain unlinked text. I haven't seen an example how that might look, but I suspect it would add considerable verbiage to the emitted text. I suggest that would be a bad thing; it would add horrible clutter. -- Michael Bednarek (talk) 02:36, 22 June 2022 (UTC)[reply]
    There are inline googleoff and googleon tags that could be used. Praemonitus (talk) 03:41, 22 June 2022 (UTC)[reply]
    Like nofollow, this should probably be a mainspace-wide issue. Another problem with delinking the "original" url is the case of preemptive archiving. In such cases the original link is not dead, only pre-empted. This is an efficient way of handling possible link rot, as it requires no maintenance, without any degradation of the reader-facing info. 172.254.222.178 (talk) 11:42, 22 June 2022 (UTC)[reply]
    The citation templates already have a parameter, |url-status=live, to indicate preemptive archival linking. When used, the citation will continue to link to the original article, with the archive link only being listed as a backup. As such, there is no reason to de-link the originals in those cases, and all of the information is available to disable de-linking for those citations. It shouldn't be a problem. FeRDNYC (talk) 18:38, 23 June 2022 (UTC)[reply]

    This has both page= and pages= as required parameters. Is it possible to make the former unrequired as it is redundant to the latter, similar to the TemplataData of {{cite news}} and {{cite book}}? Kailash29792 (talk) 06:27, 22 June 2022 (UTC)[reply]

    It's one or the other, and they are different. Compare
    "Foobar". Barfoo Monthly. p. 9.
    "Foobar". Barfoo Monthly. pp. 9–10.
    Headbomb {t · c · p · b} 06:50, 22 June 2022 (UTC)[reply]
    Why I brought this was, because the other two cite templates have only "pages=" which can be used even for single pages. So, consistency. Kailash29792 (talk) 06:55, 22 June 2022 (UTC)[reply]
    ??? Not true, both forms (singular & plural) exist as distinct parameters. Afaik there is no input validation to check if it matches the singular or plural form. 172.254.222.178 (talk) 11:26, 22 June 2022 (UTC)[reply]
    I've always interpreted the singular form of the 'pages' parameter as listing the number of pages. Praemonitus (talk) 12:32, 22 June 2022 (UTC)[reply]
    That is an incorrect interpretation; see |page= documentation (and |pages= documentation).
    Trappist the monk (talk) 12:53, 22 June 2022 (UTC)[reply]
    How then does one list the number of pages? Praemonitus (talk) 16:36, 22 June 2022 (UTC)[reply]
    |page= is used to list the singular page within a source that is being cited. |pages= is used to list the range of pages within a source that is being cited. For citation purposes, we do not care about the total number of pages within a work.
    So for example, if I'm citing a magazine article that appears on just page 3 of the issue, I would use |page=3 to get "p. 3" listed in my citation. If instead that same article ran over to a second page, |pages=3–4 to get "pp. 3–4" or |pages=3, 7 to get "pp. 3, 7" in my citation. Imzadi 1979  16:44, 22 June 2022 (UTC)[reply]
    "...we do not care about the total number of pages within a work." Is this some undocumented tribal knowledge? Just curious. Some digital papers don't have a normal page range, so the number of pages can provide the equivalent information. Praemonitus (talk) 01:23, 23 June 2022 (UTC)[reply]
    @Praemonitus: the documentation mentioned above for |pages= says: "do not use to indicate the total number of pages in the source". The citation style is based on elements from APA and CMOS styles, neither of which cite the total number of pages in a work in a citation. Imzadi 1979  02:44, 23 June 2022 (UTC)[reply]
    Okay, but that only applies to the specific parameter, not to listing the total pages in general. Praemonitus (talk) 04:39, 23 June 2022 (UTC)[reply]
    There is no parameter for a magazine's (or a book's or a newspaper's …) total number of pages, because it's of no importance. OTOH articles in journals are often cited with teir total page range and the page number for the cited instance: Doe, Jane (24 December 1968). "The wider application of paper clips". Science. 17 (42): 121–132 (125).. -- Michael Bednarek (talk) 06:42, 23 June 2022 (UTC)[reply]
    To add: Citation formatting developed/descended from bibliographic formatting, which developed/descended from catalog formatting (of works in libraries, mainly). Sources (works) have been generally classified by the published unit (book, periodical, website, audio/video recording etc.). So when citations point to specific locations within sources, the page or some other marker is necessary, in order to easily find the cited in-source item. For citation purposes, the total number of pages (or bytes, or minutes) is irrelevant. Bibliographies (like catalogs) sometimes include that information, mainly to further distinguish editions/versions. 68.132.154.35 (talk) 15:38, 23 June 2022 (UTC)[reply]
    Okay, thanks for that explanation. I'll also repeat that the lack of need for this information doesn't appear to be explained to the editing community. Or at least I couldn't readily find it. The information about the number of pages is provided on some sources for citations, such as NASA ADS, so it seems appropriate to include it in a cite. Perhaps even a footnote on the topic would be useful? Praemonitus (talk) 14:06, 24 June 2022 (UTC)[reply]
    Well, footnotes and citations are different things and exist for different reasons. Also, it is not useful to compare citations in Wikipedia with any other formal system, or any institutional practice. Wikipedia articles (and their citations, if any) are written by anonymous contributors of uncertain expertise, and are geared to a general, non-expert audience. As for this citation "style" (a misnomer as it includes many non-style-related elements), it is highly structured as far as Wikipedia norms are concerned, and accepts the data that fit the project parameters. In CS1, if there is no reference to a certain property (such as work length), it is highly likely that such property is not part of the system, and should not be expected to make an appearance. Highly structured does not mean correctly structured, but in the particular case under discussion CS1 is codifying the correct approach imo. 68.132.154.35 (talk) 18:42, 24 June 2022 (UTC)[reply]
    |page= and |pages= are not required parameters for {{cite magazine}} nor for any of the other 20-ish cs1|2 templates. Are you seeing something somewhere that says that in {{cite magazine}} |page= or |pages= is required? If so, where are you seeing that 'requirement'?
    Trappist the monk (talk) 12:02, 22 June 2022 (UTC)[reply]
    Again, it's one or the other, and they are different. Compare
    "Foobar". Barfoo Monthly: 9-10.
    "Foobar". Barfoo Monthly: 9–10.
    The first has a hyphen, the second an endash. Headbomb {t · c · p · b} 12:03, 22 June 2022 (UTC)[reply]
    Ya'll, see the end of the original sentence: TemplateData. $OP is not referencing what is actually required.
    That said, {{cite magazine}}'s current documentation says suggested for both |page= and |pages=. Indeed, where are you seeing otherwise Kailash29792? Izno (talk) 16:00, 22 June 2022 (UTC)[reply]
    By mistake. I confused suggested and required. Alright, is it okay to remove page= from suggested and retain pages=? Kailash29792 (talk) 03:21, 23 June 2022 (UTC)[reply]
    Not really, because it depends on whether or not you're citing one page or many. Headbomb {t · c · p · b} 04:07, 23 June 2022 (UTC)[reply]

    Chicago Manual of Style 17th ed. ¶ states

    In notes, where reference is usually to a particular passage in a book or journal, only the page numbers pertaining to that passage are given. In bibliographies, no page numbers are given for books cited as a whole; for easier location of journal articles or chapters or other sections of a book, the beginning and ending page numbers of the entire article or chapter are given.

    My recollection from university are that if one's own library didn't hold a particular journal, it might be possible to get another library to send a copy of an article, and it was expected to include the page range of the article so that the student-employee who actually made the copy would not have to judge where the article began and ended. When using citation templates, we could use cite xxx for the book or article in a bibliography and {{sfn}} with the page(s) that support the claim in the Wikipedia article. Jc3s5h (talk) 11:27, 23 June 2022 (UTC)[reply]

    Error in author parameter

    If you add {{Interlanguage link|Example|sv|Example}} for author "CS1 maint: multiple names: authors list (link)" will pop up in web cite template. Eurohunter (talk) 21:13, 22 June 2022 (UTC)[reply]

    Not an error. See the template documentation for {{ill}} in particular the Mbox with the image.
    To interwikilink an author's name, write |author-link=:sv:Example.
    Trappist the monk (talk) 21:26, 22 June 2022 (UTC)[reply]
    @Trappist the monk: Yes but then people say they are surprised that article is Swedish and they want to see this Christopher Friman [sv]. Eurohunter (talk) 17:30, 24 June 2022 (UTC)[reply]

    Update the module

    I've asked 2 months ago and was ignored. Can the module be updated with the pending changes? Gonnym (talk) 14:02, 23 June 2022 (UTC)[reply]

    The previous update to the modules was on 22 January 2022. We usually list the changes here for comment for about a week before updating. I propose that an admin update the modules no earlier than 1 July 2022, one week from today. In the interim, I have marked this request as "answered" so that it does not sit in the edit request queue. That does not mean it is actually answered; it should be reactivated on 1 July.
    Updates to the modules, based on the notes in the sandboxes, will be:
    I think that is all of the changes, aside from trivial changes to things like PMID limits that have already happened in the live modules. If not, please amend the list above. Corrections to the above are welcome. – Jonesey95 (talk) 15:29, 23 June 2022 (UTC)[reply]

    Tracking (more) cites with generic author names

    A couple of months ago, Jonesey95 pointed out the large number of citations using the author last name "By", and provided a handy search. I was able to expand that to capture a few more, by adding last1= through last4= to the regexp (and then remove a few by limiting it to the Article namespace). There are, nevertheless, nearly 200 such citations. Jonesey95 wondered if, perhaps, |last=By could be flagged as a generic name by the CS1 Module, as names like "Editors" and other generics already are.

    David Eppstein correctly pointed out that By is a valid surname, particularly in Norway, as illustrated by three biographical article links to the Norwegian Wikipedia. Jonesey95 conceded that, in the original search, there were two cites to authors named "By" that appeared to be genuine.

    Be that as it may, in looking over the results of my search, I noted a couple of patterns:

    1. The citation has an author |last[1234]?=By with no corresponding |first[1234]?= parameter at all.
    2. The citation has an author |last[1234]?=By with a corresponding |first[1234]?= containing a detectably generic string.
      • Overwhelmingly, the majority are citations to |last=By |first=Provided. (Such citations also comprise all of the |last2= |first2= matches I've seen so far.)
      • Occasionally, |last=By |first=Audio is used.
      • There's one instance of |last=By |first=Admin which is particularly bizarre (I could see if the first/last were reversed), but whatever..

    As such, it seems to me that there's more than enough information available to detect abusive uses of |last[1234]?=By in citations, and to include them in Category:CS1 errors: generic name, without any of the false-positive flagging of real authors named "By" that David Eppstein was concerned about. There's no reason generic-name detection has to operate exclusively on a single citation parameter in isolation, when it can incorporate the other parameters (or lack thereof) to enable more advanced and accurate detection. FeRDNYC (talk) 19:45, 23 June 2022 (UTC)[reply]

    One check that can also be useful is all-numeric / close to all numeric entries in last/first. Like if you have |first=2015-09 that's clearly an issue. Headbomb {t · c · p · b} 20:14, 23 June 2022 (UTC)[reply]
    I thought there was already a CS1 error for "date in <non-date parameter>" or something like that, no? I'll have to check. If not, I can certainly agree that would be useful to watch for. FeRDNYC (talk) 20:36, 23 June 2022 (UTC)[reply]
    Aha! there's already a name_is_numeric check in the module, as it turns out. It actually looks for any string consisting entirely of non-alphabetic characters. (The actual code is this:)
    if mw.ustring.match (name, '^[%A]+$')
    
    Where %A is the Lua pattern-matching equivalent of [^a-zA-Z] in standard Perl-Compatible Regular Expression syntax.) So it should already detect "name"s like 2015-09. FeRDNYC (talk) 21:28, 23 June 2022 (UTC)[reply]
    (Pretend I wasn't being a tedious American stereotype there, by acting as if names contain ASCII characters exclusively. Unicode letter glyphs like ä, ç, è, and etc. are undoubtedly also supported by the version of Lua pattern-matching implemented in mw.ustring.match.) FeRDNYC (talk) 21:37, 23 June 2022 (UTC)[reply]
    Pinging Trappist the monk to the discussion as the primary author of the current generics detection code. FeRDNYC (talk) 20:35, 23 June 2022 (UTC)[reply]
    Hmm, looking at the current generic detection code (local function name_checks at line 1401 of the current Module:Citation/CS1), I see that generic-name detection is performed as either a pattern or simple string search on each of the last and first parameters in turn. So, detections that target specific paired uses of |last= & |first= probably aren't possible with the current code.
    I would propose, to Trappist, the addition of a further ['full_generic_names'] list, against which a check is run on a joined representation of the entire author name. (So, effectively, undoing the splitting performed by extract_names before checking the name.) that would allow detection of joined names like these:
    • provided by
    • audio by
    • admin by
    • ^by$
    Which would cover the vast majority, if not all, of the problematic uses of |last=By that Jonesey95 originally pointed out, without any false positives on valid uses of |last=By. And we'll probably find more instances where it's useful for detecting other generics, as well.
    The ['full_generic_names'] list would hopefully be much shorter than the ['generic_names'] list used to check first/last names separately, so scanning it hopefully wouldn't have a severe impact on performance. (Please correct me if I'm wrong about that.) Could something like that be a workable approach to generic whole-name detection, where the individual first/last name(s) alone don't tell enough of the story? FeRDNYC (talk) 21:17, 23 June 2022 (UTC)[reply]
    Maybe I misunderstand your proposal, but wouldn't adding say, "provided", "audio" etc. in Module:Citation/CS1/Configuration's 'generic_names' list accomplish similar results? These terms would be considered generic whether they appear in |lastn= or |firstn=. 71.105.141.131 (talk) 23:26, 23 June 2022 (UTC)[reply]
    It would accomplish results, but not necessarily similar ones. I guarantee there's someone, somewhere in the world with the first or last name "Audio". "Provided" isn't outside the realm of possibility, either. (Edit: And that still doesn't cover the question of "By" alone, which is insufficiently generic as a first or last name but is flaggably generic when used as the entire name. That's something the current code can't detect.) FeRDNYC (talk) 00:04, 24 June 2022 (UTC)[reply]
    Ok, but by the same token, any term or combination of terms may exist somewhere as a name. And there is the issue of code efficiency and code complexity. Perhaps a certain number/percentage of such generics should actually be detected in live citations before any list/code expansion is considered. 65.254.10.26 (talk) 00:21, 24 June 2022 (UTC)[reply]
    Well, we have numbers on "By": Nearly 200 cites with the last name "By". A couple are seemingly genuine. A large percentage of them are of the (currently undetectable) form |last=By |first= (meaning, no first-name value provided). I'd guesstimate 80-90%, from looking through the matches. It's hard to be exact, because you can't search for the lack of a parameter without getting into unworkably complex regular expressions that the server will reject as too expensive. FeRDNYC (talk) 00:29, 24 June 2022 (UTC)[reply]
    Then again, a search for cites with "Audio" as the first or last name finds 17 matches, all of which are flaggably generic. (Mostly, they're cites from some audio website that use the name of the site as the author name.) So "Audio" may be a good candidate for generic_names regardless. FeRDNYC (talk) 00:22, 24 June 2022 (UTC)[reply]
    Meh. If we add ^by$ to the list and the test just happens to catch a real name (surname or given) we have the accept-this-as-written markup that will bypass the error detection. For example, Twitter and Google are both generic names so this cite emits error messages:
    {{cite book |first=Google |last=Twitter |title=Title}}
    Twitter, Google. Title. {{cite book}}: |last= has generic name (help)
    with the markup, no error messaging:
    {{cite book |first=((Google)) |last=((Twitter)) |title=Title}}
    Twitter, Google. Title.
    I don't think that adding 'audio' is worthwhile if there really are only 17 hits; just fix them. A similar search for 'provided' returned 6 hits (timed out so there could be more) so, again, just fix them. I think that we rejected testing for 'admin' because it was suggested that there might be too many false positives where 'admin' really is the author.
    Trappist the monk (talk) 00:58, 24 June 2022 (UTC)[reply]
    Fair 'nuff. I find myself in agreement with Jonesey95's original proposal that ^by$ is a good candidate for the generics, then. The five or six false positives (now that I've looked through the entire list), as you say we can mark as accept-as-written, and there are still close to 195 more that are flaggable.
    There are also a number of cites, I'm now seeing, that use |last=By |first=<entire_author's_name>, so it'd be nice to have the generics matching find those as well. I just fixed one... FeRDNYC (talk) 01:10, 24 June 2022 (UTC)[reply]
    Regarding I don't think that adding 'audio' is worthwhile if there really are only 17 hits; just fix them.: While I understand and can appreciate that position, it does also sort of implicitly assume that no more instances will be created in the future.
    If all of the "Audio" links were really old and just never got cleaned up, that'd be fine. We could just fix those 17, and that would be that. But this one was added in 2019, and this one in May 2020.
    (The second one is actually a cite to a YouTube video, posted by the account "Madhura Audio". I'm not 100% sure what our policies are on that; perhaps it's even correct for the author to be listed as "Madhura Audio". But the cite is written as |first1=Madhura|last1=Audio which definitely feels wrong to me. Business YouTube accounts don't have first and last names, they're not people.) FeRDNYC (talk) 07:13, 24 June 2022 (UTC)[reply]