Help talk:CS1 errors
Archives
This page has archives. Sections older than 30 days may be auto-archived by ClueBot III if there are more than 6.
Why are some citation error messages hidden?
[edit ]Per the title, who made this stupid decision? Blockhaj (talk) 23:14, 22 May 2025 (UTC) [reply ]
- Because
- not all "errors" are errors
- see #1
- If you want a more substantial repsonse, you'll have to be specific. Headbomb {t · c · p · b} 23:26, 22 May 2025 (UTC) [reply ]
- Mostly, it's because they don't affect our target market, i.e. the non-editing readers. --Redrose64 🌹 (talk) 06:52, 23 May 2025 (UTC) [reply ]
Date issue for a non-English Cite Q entry.
[edit ]I am getting a "Check date values in: |publication-date" on https://www.wikidata.org/wiki/Wikidata_talk:Lexicographical_data#Mass_validation_of_lexemes" where I use the {{Cite q }} template and have my Interface in a non-English language (Danish). The date appears as "28. juni 2019". Perhaps the problem is in the Cite Q template? — fnielsen (talk) 08:50, 18 August 2025 (UTC) [reply ]
- I presume that you meant this version of that discussion; Editor So9q has since replaced that
{{cite q}}template with{{Q|64862991 }}. - Wikidata is multilingual.
{{cite q}}and Module:Citation/CS1 are, at best, only sort of bilingual. Module:Cite Q fetches publication date (P577) from wikidata which returns that data in the user's preferred language format. Whatever Module:Cite Q gets from wikidata is passed to Module:Citation/CS1 for rendering. cs1|2 understands English dates and can be tweaked to understand dates from one other language. That works well enough at da.wiki but as you've discovered, does not work at wikidata. - I suppose that the wikidata version of
{{cite q}}might be tweaked to fetch the raw (unformatted)timeandprecisionfields fromP577:mw.wikibase.getEntity('Q64862991').claims.P577[1].mainsnak.datavalue.value.time→+2019年06月28日T00:00:00Zmw.wikibase.getEntity('Q64862991').claims.P577[1].mainsnak.datavalue.value.precision→11
- then, depending on the value of
precisionreturn the YYYY-MM-DD publication date (precision==11) or just the YYYY publication date (precision==9). - This supposition has not been tested.
- —Trappist the monk (talk) 14:59, 18 August 2025 (UTC) [reply ]
Another generic title
[edit ]Titles containing the phrase "Subscription Offers, Specials, and Discounts" are probably bogus. There are currently about 200 examples. -- John of Reading (talk) 09:30, 23 October 2025 (UTC) [reply ]
- Are they due to citation bot? If so, User talk:Citation bot. There are reports of generic/invalid titles. --Redrose64 🌹 (talk) 16:04, 25 October 2025 (UTC) [reply ]
- @Redrose64: I've checked four at random, and the edits are tagged "Visual edit" (diffs 1, 2, 3, 4) -- John of Reading (talk) 16:43, 25 October 2025 (UTC) [reply ]
- In which case, mw:Talk:Citoid. --Redrose64 🌹 (talk) 23:33, 25 October 2025 (UTC) [reply ]
- @Redrose64: I've checked four at random, and the edits are tagged "Visual edit" (diffs 1, 2, 3, 4) -- John of Reading (talk) 16:43, 25 October 2025 (UTC) [reply ]
And another: over 300 articles with title You are being redirected. However they got into the encyclopedia, it's still worth adding these to the CS1 error checks. -- John of Reading (talk) 18:13, 15 November 2025 (UTC) [reply ]
Bibcode validation code needs updating
[edit ]Bibcodes have evolved to accept characters other than letters, digits and dots in the 10–13 (volume field) and 15–18 (pages field) ranges. From ADS:
As many publishers are moving away from page numbers and using electronic identifiers more and more frequently, the page field is no longer guaranteed to be numeric. Often an identifier of more than 5 digits is truncated, and there may be letters, periods, dashes, or other characters in the page field as well. The volume field may also contain non-numeric characters.
The current validation logic is outdated, falsely flagging errors such as the Schillinger reference in this article (note the hyphen between 100. and 166):
Bibcode:2008AgrJ..100.-166S ...
{{cite journal}}: Empty citation (help): Check |bibcode= value (help)
Kindly update the bibcode validation code to reflect the current status. If this needs to be flagged elsewhere, please advise accordingly and I'll do the same.
Regards, Alexanderino (talk) 23:00, 31 October 2025 (UTC) [reply ]
- I have received a response from ADS. It is reproduced verbatim:
- length must be 19 characters (<message> = 'length')
- characters in position(s): (except as specified otherwise, violations produce 'value' in the <message> portion of the error message):
- 1–4 must be digits and must represent a year in the range of 1000 – next year (<message> = 'year')
- 5 must be a letter
- 6–8 must be a letter, digit, ampersand, or dot (ampersand cannot directly precede a dot; &. (<message> = 'journal'))
- 9 must be a letter, digit or dot
- 10–18 must be a letter, digit, dot or dash
- 19 must be a letter or dot
- If someone would be so kind as to update the validation code, or point out who is responsible for that task, I'd be grateful. Thanks, Alexanderino (talk) 20:21, 3 November 2025 (UTC) [reply ]
Canberra
[edit ]Boost DOI limit
[edit ]doi:10.82191/lseidr.111 {{doi}}: Check doi value (help) is valid. Set prefix limit to 10.85000 Headbomb {t · c · p · b} 03:11, 14 November 2025 (UTC) [reply ]