# உதவி:CS1 errors



This page describes the error messages reported by the and citations, what they mean, and how editors might resolve the errors. :Category:CS1 errors is the general errors category and :Category:CS1 maintenance is the general maintenance category.  

Errors in the &lt;ref> system can be found at .  

## Controlling error message display
<section begin=control_error_messages_help_text /><section begin=show_error_messages_help_text /><section begin=show_all_messages_help_text />By default, and error messages are visible to all readers and maintenance category messages are hidden from all readers.  

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

<syntaxhighlight lang=css>.mw-parser-output .cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */</syntaxhighlight>  

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 error messages:  
<syntaxhighlight lang=css>.mw-parser-output .cs1-visible-error {display: ;} /* hide Citation Style 1 error messages */</syntaxhighlight>  

You can personalize the display of these messages (e.g. change the color), but you will need to ask someone who knows CSS or at the technical village pump if you do not understand how.<section end=show_error_messages_help_text /><section end=show_all_messages_help_text />  

## Most common errors

- #Citation without a title of any form, ~33k pages
- #Check date values in: %7C<param1>=, %7C<param2>=, ..., ~28k pages
- #Bare URL without a title, ~26k pages
- #%7Caccess-date= requires %7Curl=, ~20k pages
- #External link in %7C<param>=, ~18k pages
- #Missing or empty %7Curl=, ~14k pages

## <span id="accessdate_missing_url">|access-date= requires |url= </span>

<section begin=accessdate_missing_url_help_text /><span><code>|access-date=</code> requires <code>|url=</code></span>  

The (or its alias, ) is the date that the online resource addressed by was added to the article. If has been included in the citation without then this message appears. If the citation does not use a web link, then is redundant and should be removed.  

When the online resource has a publication or other fixed date associated with it, is of limited value though may be useful in identifying an appropriate archived version of the resource. Without , is not considered useful.  

To resolve this error, provide a value for or remove . Editors should try to determine why the citation has without . For example, the citation may never have had a , or may have been removed because it links to a site that violates the creator's copyright (see WP:COPYLINK), or because was deemed to be dead and (mistakenly) removed. If the citation never had or it was removed for copyright violations, remove . When a dead has been removed, restore the and if possible repair it (see WP:LINKROT).  

Pages with this error are automatically placed in . The identifier is checked for a valid number of digits in the article id; valid year and month values; and properly-placed hyphens, slashes, and dots.  

To resolve this error, ensure that the value is correct.  

Pages with this error are automatically placed in . Bibcodes are expected to match these requirements:  
:length must be 19 characters (<message> = '<span>length</span>')  
:characters in position(s): (except as specified otherwise, violations produce '<span>value</span>' 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> = '<span>year</span>')  
::5 must be a letter  
::6–8 must be letter, ampersand, or dot (ampersand cannot directly precede a dot; &. (<message> = '<span>journal</span>'))  
::9 must be letter or dot  
::10–18 must be letter, digit, or dot  
::19 must be a letter or dot  
To resolve this error, ensure that the value is correct.  

Pages with this error are automatically placed in .  
**LCCN format description**

| 8 | all characters are digits |
| --- | --- |
| 9 | first character is a lower case letter |
| 10 | first two characters are either both lower case letters or both digits |
| 11 | first character is a lower case letter, second and third characters are either both lower case letters or both digits |
| 12 | first two characters are both lower case letters |

Further validation is not performed.  

To resolve this error, ensure that the value is correct and that there are no other letters, punctuation, or other characters.  

When receiving this error, be on the lookout for publishers who omitted leading zeros in the LCCN following the two or four digit year. For example, an LCCN that is properly 92-035427 could be shortened in the printed work to 92-35247. When experimenting with inserting omitted zeroes, cross-check the finished number against the LCCN permalinks online.  

Pages with this error are automatically placed in . The value in is checked to make sure that it contains <code>@</code> between and identifiers. is also checked to make sure that the first character is not <code><</code> and the last character is not <code>></code>. Module:Citation/CS1 adds the uri <code>news:</code> to the value in . If the value in is wrapped in <code><...></code> characters, the link created fails.  

Further validation is not performed.  

To resolve this error, ensure that the value is correct, that it contains <code>@</code> and is not wrapped in <code><...></code> characters.  

Pages with this error are automatically placed in .  

Top- and second-level domain names are checked for proper form. Generally, top-level domain names must be two or more letters; second-level domain names must be two or more letters, digits, or hyphens (first and last character must be a letter or digit). Single-letter second-level domains are supported for:  
:all ccTLDs (the country code is not validated)  
:the .org TLD  
:certain letters of the .com TLD (q, x, z)  
:certain letters of the .net TLD (i, q)  
Third- and subsequent-level domain names are not checked. The path portion of the URL is not checked.  

To resolve this error, ensure that and other URL parameters contain valid URLs. Online tools are available to internationalize URLs that are written in non-Latin scripts:  
:  
:  

Pages with this error are automatically placed in . (0041–005A, 0061–007A)  
:C1 Controls and Latin-1 Supplement (00C0–00D6, 00D8–00F6, 00F8–00FF)  
:Latin Extended-A (0100–017F)  
:Latin Extended-B (0180–01BF, 01C4–024F)  

This error is also reported when more than two initials are used: in case of more than two initials, list only the first two.  

This error is also reported when a corporate or institutional author is listed in without proper delimiters. Corporate authors should be listed this way:  
:  

While normally correct, sometimes the names listed on a PMID page contain errors when the author surname has a lowercase nobiliary particle. For example, lists Magnus von Knebel Doeberitz as Doeberitz Mv which is not correct. This author's name should be listed as .  

Certain punctuation will be flagged as an error. For example, Unicode U+2019, single quotation mark, causes an error because it is not a member of the Latin character sets identified above: . Replace this character with the straight (or typewriter) apostrophe: .  

To resolve this error, Romanize author and editor names. Romanizing can result in two-letter initials, for example, the Greek letter 'Θ' Romanizes to 'Th'. When author names have this kind of initial, Module:Citation/CS1 can't know if this kind of initial is a typo or a legitimate Romanized character so it will emit the Vancouver error. To suppress the error after determining that the two-character initial is correct and not a typo, treat the name as if it were a corporate name by wrapping it in doubled parentheses: →  

Similarly, Chinese hyphenated given names may appear in PubMed listings. For example: 'Wang Hsien-yu' may be listed on PubMed as 'Wang Hy' which will result in a Vancouver error. When this occurs, and upon verification that such names are correct, wrap them in doubled parentheses.  

Specific Rules for Names:  
- Surnames with hyphens and other punctuation in them
- Other surname rules
- Given names containing punctuation, a prefix, a preposition, or particle
- Degrees, titles, and honors before or after a personal name
- Designations of rank within a family, such as Jr and III
- Names appearing in non-roman alphabets (Cyrillic, Greek, Arabic, Hebrew, Korean) or character-based languages (Chinese, Japanese)
- Organizations as author
  - cs1|2 does not obey the semicolon-as-separator rule. Separate corporate and organizational names from each other and from individual names with a comma; wrap corporate and organizational names in doubled parentheses as described above
Pages with this error are automatically placed in .  
}}<section end=notes_help_text /><section begin=references_help_text />