Jump to content

ප්‍රවර්ගය:CS1 maint: date format

විකිපීඩියා වෙතින්

This is a tracking category for CS1 templates that use any of the various date-holding parameters to hold date ranges where the separator character is a hyphen instead of the correct endash. Module:Citation/CS1 renders the date range with an endash and adds the article to this category for repair. Pages in this category should only be added by Module:Citation/CS1.

This is an endash, suitable for fixing citations using a hyphen: .

Pages with this condition are automatically placed in Category:CS1 maint: date format.[a]

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


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, 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 are pages that are specific to you, and control your view of pages, by adding to the CSS code. If you have not yet created such a page, then clicking one of the .css links above will yield a page whose first two lines of text are: Wikipedia does not have a user page with this exact name. Before creating this page, please see Wikipedia:Subpages. and Start the User:(your username)/common.css page. Click the second line to start creating the page, 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.

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.


  1. ^ Pages in the Book talk, 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.

"CS1 maint: date format" ප්‍රවර්ගයට අයත් පිටු

මෙම ප්‍රවර්ගය සතු සමස්ත පිටු 7 අතර, පහත දැක්වෙන පිටු 7 ද වෙති.