Jump to content

ප්‍රවර්ගය:CS1 maint: extra punctuation

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

This is a tracking category for CS1 citation templates that have parameters that contain extraneous trailing punctuation. For example, |agency=Agency, has an extraneous comma. The test that adds articles to this category is currently limited to checking for trailing commas, colons, or semicolons (,:;). Encoded characters that end in semicolons (e.g. quote marks, which are rendered by the cite templates as ") are also flagged as false positives by this error check.

Extraneous punctuation should be removed. This category should be added to pages only by Module:Citation/CS1.


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.

"https://si.wikipedia.org/w/index.php?title=ප්‍රවර්ගය:CS1_maint:_extra_punctuation&oldid=482787" වෙතින් සම්ප්‍රවේශනය කෙරිණි