ප්රවර්ගය:CS1 maint: multiple names: authors list
මෙය නිරීක්ෂණ ප්රවර්ගයකි. පිටු ලැයිස්තු තැනීමට හා නඩත්තු කිරීමට මෙය භාවිතා වේ—(ප්රධාන වශයෙන් ලැයිස්තු සඳහාම හෝ ලිපි සහ ප්රවර්ගවල භාවිතය සඳහා). මෙය විශ්වකෝෂයේ වර්ගීකරණ යෝජනා ක්රමයේ කොටසක් නොවේ.
පැහැදිලි කිරීම:
|
පරිපාලකවරුනි: කරැණාකර මෙම ප්රවර්ගය හිස් වුවද මකා නොදමන්න! මෙම පණිවුඩයත් සමග තිබෙන ප්රවර්ග සමහර විට ඇතැම්විට යම්කිසි කාල සීමාවකට හෝ හිස්විය හැකියි. |
This is a hidden tracking category for CS1 citations that use |author=
, or its aliases.
Articles are listed in this category when Module:Citation/CS1 identifies cs1|2 citation templates that appear to use singular forms of author name-list parameters to list multiple authors' names. Doing so corrupts the citation's metadata.
The citation module code looks for multiple comma or semicolon separator characters in the value assigned to |author=
, |last=
, their aliases, and enumerated equivalents (e.g. |author2=
, |last2=
, etc.). This test displays an error message for multiple authors' names in a single parameter, as well as single author names that include a comma-separated list of post-nominals: |author=FC White, RN, MD, Ph.D
.
To fix these errors in citations:
- Remove post-nominals.
- Provide enumerated author parameters (e.g. either
|author2=
or|last2=
and|first2=
) for each author of a cited work. - When multiple separator characters are legitimately present in a name (commonly a corporate, institutional, or governmental author), the name may be wrapped in two sets of parentheses (or
<nowiki>...</nowiki>
tags) to suppress assignment to this category, like this:|author=((Federal Ministry of Transport, Building, and Urban Development))
or|author=<nowiki>Federal Ministry of Transport, Building, and Urban Development</nowiki>
.
Editors should not simply replace |author=
with |authors=
. Using the plural |authors=
parameter to replace a singular |author=
or |last=
parameter that holds multiple authors' names is discouraged because automatically decoding lists of human names is an extraordinarily difficult task. Because of this difficulty, names listed in |authors=
are omitted from the template's COinS metadata. Enumerating the author list with |authorn=
, or |lastn=
/ |firstn=
, or, where appropriate, |vauthors=
, preserves the associated metadata.
Pages in this category should only be added 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.
"CS1 maint: multiple names: authors list" ප්රවර්ගයට අයත් පිටු
මෙම ප්රවර්ගය සතු සමස්ත පිටු 123 අතර, පහත දැක්වෙන පිටු 123 ද වෙති.