Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Notes  














Category:CS1 errors: dates






العربية

Беларуская

Bosanski
Català
Cymraeg
Dansk
Eesti
Ελληνικά
فارسی
Føroyskt


ि
Hrvatski
Ilokano
Bahasa Indonesia
עברית
Jawa

 / کٲشُر
Ikirundi
Kreyòl ayisyen
Kurdî
Latviešu
Македонски


مصرى
Монгол


Norsk bokmål
Norsk nynorsk
ି
Oʻzbekcha / ўзбекча

Português
Română
Русский
Scots
Shqip

Simple English
Slovenščina
Soomaaliga
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Tagalog


Тоҷикӣ
Türkçe
Twi
اردو
Tiếng Vit
Xitsonga


 

Edit links
 









Category
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Outreach
Wikibooks
Wikidata
Wikisource
 
















Appearance
   

 





Help
 

From Wikipedia, the free encyclopedia
 


This is a tracking category for CS1 citations with date-holding parameters where the date values do not comply with MOS:DATEFORMAT.

Most (although not all) cases in the category can automatically be dealt with by clicking here to activate User:Citation bot.

Help desk

  • Check date values in: |<param1>=, |<param2>=, ...
  • Check date values in: |year= / |date= mismatch
  • When Citation Style 1 and Citation Style 2 templates contain date-holding parameters, an automated test is done to see if the dates are real dates that comply with a subset of the date rules in Wikipedia's Manual of Style, specifically checking for violations of MOS:DATEFORMAT.

    To resolve this error, ensure that the date is an actual date and that the date format follows the Wikipedia Manual of Style's guidance on dates in the named parameter. See examples of unacceptable dates and how to fix them, below. Or, some conceptual issues to look for:

    See Help: Citation Style 1 for information about limitations in the CS1 citation templates' handling of date formats. The MOS section on date ranges describes how to separate dates in a date range. Do not use &nbsp;, &ndash;, or {{spaced ndash}} as these corrupt the metadata. To add an en dash, use the CharInsert edit tool or see Wikipedia:How to make dashes. You may also copy and paste this one: –. A bot is often able to correct the separator, provided the overall format is unambiguous.

    Future dates in |date= in CS1|2 citations are limited to current year + 1; that is, for 2024, citation dates in 2025 are acceptable but citation dates in 2026 and beyond are not.

    Dates prior to 1582 are treated as Julian calendar dates. Dates from 1582 onward are treated as Gregorian calendar dates. The Julian calendar was used in some places until approximately 1923. Three Julian calendar dates in the overlap period, 29 February in the years 1700, 1800, and 1900, will cause this error message because those years are not leap years in the Gregorian calendar.

    The access date (in|access-date=) is checked to ensure that it contains a full date (day, month, and year) and is between 15 January 2001 (the founding date of Wikipedia) and today's date plus one day, because it represents the date that an editor viewed a web-based source to verify a statement on Wikipedia. Because editors may be in time zones that are one day ahead of the UTC date, one extra day is accepted.

    Pages with this error are automatically placed in Category:CS1 errors: dates.[a]


    By default, Citation Style 1 and Citation Style 2 error messages are visible to all readers and maintenance messages are hidden from all readers.

    To display maintenance messages in the rendered article, include the following text in your common CSS page (common.css) or your specific skin's CSS page and (skin.css).

    (Note to new editors: those CSS pages are specific to you, and control your view of pages, by adding to your user account's CSS code. If you have not yet created such a page, then clicking one of the .css links above will yield a page that starts "Wikipedia does not have a user page with this exact name." Click the "Start the User:username/filename page" link, paste the text below, save the page, follow the instructions at the bottom of the new page on bypassing your browser's cache, and finally, in order to see the previously hidden maintenance messages, refresh the page you were editing earlier.)

    .mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */
    

    To display hidden-by-default error messages:

    .mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden Citation Style 1 error messages */
    

    Even with this CSS installed, older pages in Wikipedia's cache may not have been updated to show these error messages even though the page is listed in one of the tracking categories. A null edit will resolve that issue.

    After (error and/maintenance) messages are displayed, it might still not be easy to find them in a large article with a lot of citations. Messages can then be found by searching (with Ctrl-F) for "(help)" or "cs1".

    To hide normally-displayed error messages:

    .mw-parser-output span.cs1-visible-error {display: none;} /* hide Citation Style 1 error messages */
    

    You can personalize the display of these messages (such as changing the color), but you will need to ask someone who knows CSS or at the technical village pump if you do not understand how.

    Nota bene: these CSS rules are not obeyed by Navigation popups. They also do not hide script warning messages in the Preview box that begin with "This is only a preview; your changes have not yet been saved".


    Notes

    [edit]
    1. ^ Pages in the Category talk, Draft talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, User, User talk, and Wikipedia talk namespaces are not included in the tracking categories. In addition, pages with names matching the patterns '/[Ss]andbox', '/[Tt]estcases', '/[^/]*[Ll]og', and '/[Aa]rchive' are not included in the tracking categories.

    Pages in category "CS1 errors: dates"

    The following 46 pages are in this category, out of 46 total. This list may not reflect recent changes.

    A

    C

    E

    F

    K

    L

    M

    P

    U

    W

    Δ

    Τ


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Category:CS1_errors:_dates&oldid=1188195728"

    Category: 
    CS1 errors
    Hidden categories: 
    Hidden categories
    Tracking categories
    Automatic category TOC generates no TOC
     



    This page was last edited on 3 December 2023, at 22:30 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki