Changes

Jump to navigation Jump to search
1,846 bytes added ,  12:11, 12 March 2022
m
Interwikilinks anpassen
Line 11: Line 11:  
<section begin="show_error_messages_help_text" /><section begin="show_all_messages_help_text" />By default, {{cs1}} and {{cs2}} error messages are visible to all readers and maintenance category messages are hidden from all readers.
 
<section begin="show_error_messages_help_text" /><section begin="show_all_messages_help_text" />By default, {{cs1}} and {{cs2}} 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 [[Cascading Stylesheets|CSS]] page or your specific skin's CSS page ([[Special:MyPage/common.css|common.css]] and [[Special:MyPage/skin.css|skin.css]] respectively):
+
To display maintenance messages, include the following text in your common [[Wikipedia:Cascading Stylesheets|CSS]] page or your specific skin's CSS page ([[Special:MyPage/common.css|common.css]] and [[Special:MyPage/skin.css|skin.css]] respectively):
    
<syntaxhighlight lang="css">.mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */</syntaxhighlight>
 
<syntaxhighlight lang="css">.mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */</syntaxhighlight>
Line 99: Line 99:  
<section begin="arxiv_missing_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_arxiv_missing}}
 
<section begin="arxiv_missing_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_arxiv_missing}}
   −
{{tlx|cite arXiv}} requires one, but not both, of the identifier parameters {{para|arxiv}} or {{para|eprint}} to specify an [[arXiv]] identifier.
+
{{tlx|cite arXiv}} requires one, but not both, of the identifier parameters {{para|arxiv}} or {{para|eprint}} to specify an [[Wikipedia:arXiv|arXiv]] identifier.
    
To resolve this error, ensure that the template has {{para|arxiv}} or {{para|eprint}} with a properly constructed value.
 
To resolve this error, ensure that the template has {{para|arxiv}} or {{para|eprint}} with a properly constructed value.
Line 140: Line 140:  
<section begin="invisible_char_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_invisible_char|$1=&lt;char> character|$2=<code class="cs1-code">{{pipe}}&lt;param>=</code>|$3={{var|n}}}}
 
<section begin="invisible_char_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_invisible_char|$1=&lt;char> character|$2=<code class="cs1-code">{{pipe}}&lt;param>=</code>|$3={{var|n}}}}
   −
This error is reported for citations with parameter values that contain invisible or non-printable characters known as [[control character]]s; the error includes the position at which the character can be found.  [[Module:Citation/CS1]] detects parameter values that contain any of these characters:
+
This error is reported for citations with parameter values that contain invisible or non-printable characters known as [[Wikipedia:control character|control character]]s; the error includes the position at which the character can be found.  [[Module:Citation/CS1]] detects parameter values that contain any of these characters:
   −
* [[non-breaking space]], U+00A0
+
* [[Wikipedia:non-breaking space|non-breaking space]], U+00A0
* [[soft hyphen]], U+00AD
+
* [[Wikipedia:soft hyphen|soft hyphen]], U+00AD
* [[replacement character]], U+FFFD
+
* [[Wikipedia:replacement character|replacement character]], U+FFFD
* [[hair space]], U+200A
+
* [[Wikipedia:hair space|hair space]], U+200A
* [[zero width space]], U+200B
+
* [[Wikipedia:zero width space|zero width space]], U+200B
* [[zero width joiner]], U+200D
+
* [[Wikipedia:zero width joiner|zero width joiner]], U+200D
* [[horizontal tab]], U+0009 (HT)
+
* [[Wikipedia:horizontal tab|horizontal tab]], U+0009 (HT)
* [[line feed]], U+0010 (LF)
+
* [[Wikipedia:line feed|line feed]], U+0010 (LF)
* [[carriage return]], U+0013 (CR)
+
* [[Wikipedia:carriage return|carriage return]], U+0013 (CR)
* [[delete character]], U+007F (DEL)
+
* [[Wikipedia:delete character|delete character]], U+007F (DEL)
* [[C0 and C1 control codes|C0 control]], U+0000–U+001F (NULL–US)
+
* [[Wikipedia:C0 and C1 control codes|C0 control]], U+0000–U+001F (NULL–US)
* [[C0 and C1 control codes|C1 control]], U+0080–U+009F (XXX–APC)
+
* [[Wikipedia:C0 and C1 control codes|C1 control]], U+0080–U+009F (XXX–APC)
    
To resolve invisible-character errors, remove or replace the identified character. Most intentional white-space characters should be replaced with a normal space character (i.e. press your keyboard's space bar). See [[MOS:NBSP]] for guidance on insertion of intentional non-breaking spaces.   
 
To resolve invisible-character errors, remove or replace the identified character. Most intentional white-space characters should be replaced with a normal space character (i.e. press your keyboard's space bar). See [[MOS:NBSP]] for guidance on insertion of intentional non-breaking spaces.   
Line 161: Line 161:  
{{#invoke:Cs1 documentation support|help_text_error_messages|err_invisible_char|$1=&lt;name> stripmarker|$2=<code class="cs1-code">{{pipe}}&lt;param>=</code>|$3={{var|n}}}}
 
{{#invoke:Cs1 documentation support|help_text_error_messages|err_invisible_char|$1=&lt;name> stripmarker|$2=<code class="cs1-code">{{pipe}}&lt;param>=</code>|$3={{var|n}}}}
   −
[[Help:Strip markers|Strip markers]] are special sequences of characters that [[MediaWiki]] inserts as a place-holder for certain [[xml]]-like tags.  These tags include {{tag|gallery}}, {{tag|math}}, {{tag|nowiki}}, {{tag|pre}}, and {{tag|ref}}.  The strip markers are replaced with content before the final page rendering.  The module ignores math and nowiki strip markers.
+
[[Help:Strip markers|Strip markers]] are special sequences of characters that [[Wikipedia:MediaWiki|MediaWiki]] inserts as a place-holder for certain [[Wikipedia:xml|xml]]-like tags.  These tags include {{tag|gallery}}, {{tag|math}}, {{tag|nowiki}}, {{tag|pre}}, and {{tag|ref}}.  The strip markers are replaced with content before the final page rendering.  The module ignores math and nowiki strip markers.
    
To resolve strip marker errors, remove or replace the identified tag.  The error message identifies the strip marker's position in the parameter value counted from the left.  Space characters between the assignment operator (the '=' sign) and the parameter value are not counted when calculating the position.
 
To resolve strip marker errors, remove or replace the identified tag.  The error message identifies the strip marker's position in the parameter value counted from the left.  Space characters between the assignment operator (the '=' sign) and the parameter value are not counted when calculating the position.
Line 172: Line 172:  
<section begin="bad_arxiv_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_arxiv}}
 
<section begin="bad_arxiv_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_arxiv}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|arxiv}}, a test is done to see if the [[arXiv]] identifier conforms with the arXiv identifier scheme.<ref>{{cite web |url=https://arxiv.org/help/arxiv_identifier |title=Understanding the arXiv identifier |website=[[Cornell University Library]] |access-date=2014-08-20}}</ref> 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.
+
When {{cs1}} and {{cs2}} templates contain {{para|arxiv}}, a test is done to see if the [[Wikipedia:arXiv|arXiv]] identifier conforms with the arXiv identifier scheme.<ref>{{cite web |url=https://arxiv.org/help/arxiv_identifier |title=Understanding the arXiv identifier |website=[[Wikipedia:Cornell University Library|Cornell University Library]] |access-date=2014-08-20}}</ref> 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 {{para|arxiv}} value is correct.
 
To resolve this error, ensure that the {{para|arxiv}} value is correct.
Line 181: Line 181:  
<section begin="bad_asin_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_asin}}
 
<section begin="bad_asin_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_asin}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|asin}}, a test is done to see if the [[ASIN]] identifier contains ten upper-case alphanumeric characters without punctuation or spaces and that if the first character is numeric, that the ASIN conforms to the rules for a ten-digit [[ISBN]].   
+
When {{cs1}} and {{cs2}} templates contain {{para|asin}}, a test is done to see if the [[Wikipedia:ASIN|ASIN]] identifier contains ten upper-case alphanumeric characters without punctuation or spaces and that if the first character is numeric, that the ASIN conforms to the rules for a ten-digit [[Wikipedia:ISBN|ISBN]].   
    
To resolve this error, ensure that the {{para|asin}} value is correct.
 
To resolve this error, ensure that the {{para|asin}} value is correct.
Line 192: Line 192:  
<section begin="bad_asin-tld_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_asin_tld}}
 
<section begin="bad_asin-tld_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_asin_tld}}
   −
{{cs1}} and {{cs2}} templates contain a test for known {{para|asin-tld}} values to specify the [[top-level domain]] (TLD) of a given [[ASIN]] identifier link. The list of currently supported values is:
+
{{cs1}} and {{cs2}} templates contain a test for known {{para|asin-tld}} values to specify the [[Wikipedia:top-level domain|top-level domain]] (TLD) of a given [[Wikipedia:ASIN|ASIN]] identifier link. The list of currently supported values is:
    
<section begin="asin-tld_values_list" /><code>ae</code>, <code>au</code>, <code>br</code>, <code>ca</code>, <code>cn</code>, <code>de</code>, <code>es</code>, <code>fr</code>, <code>in</code>, <code>it</code>, <code>jp</code>, <code>mx</code>, <code>nl</code>, <code>pl</code>, <code>sa</code>, <code>se</code>, <code>sg</code>, <code>tr</code>, <code>uk</code><section end="asin-tld_values_list" />
 
<section begin="asin-tld_values_list" /><code>ae</code>, <code>au</code>, <code>br</code>, <code>ca</code>, <code>cn</code>, <code>de</code>, <code>es</code>, <code>fr</code>, <code>in</code>, <code>it</code>, <code>jp</code>, <code>mx</code>, <code>nl</code>, <code>pl</code>, <code>sa</code>, <code>se</code>, <code>sg</code>, <code>tr</code>, <code>uk</code><section end="asin-tld_values_list" />
Line 211: Line 211:  
<section begin="bad_bibcode_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_bibcode|$1=&lt;message>}}
 
<section begin="bad_bibcode_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_bibcode|$1=&lt;message>}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|bibcode}}, a test is done to see if the [[bibcode]] identifier has the proper format.<ref>{{cite web |url=http://adsabs.harvard.edu/abs_doc/help_pages/data.html#bibcodes |title=1.2.3 - Bibliographic Identifiers |website=The SAO/NASA Astrophysics Data System}}</ref>  Bibcodes are expected to match these requirements:
+
When {{cs1}} and {{cs2}} templates contain {{para|bibcode}}, a test is done to see if the [[Wikipedia:bibcode|bibcode]] identifier has the proper format.<ref>{{cite web |url=http://adsabs.harvard.edu/abs_doc/help_pages/data.html#bibcodes |title=1.2.3 - Bibliographic Identifiers |website=The SAO/NASA Astrophysics Data System}}</ref>  Bibcodes are expected to match these requirements:
 
: length must be 19 characters (&lt;message> = '<span class="error" style="font-size:100%">length</span>')
 
: length must be 19 characters (&lt;message> = '<span class="error" style="font-size:100%">length</span>')
 
: characters in position(s): (except as specified otherwise, violations produce '<span class="error" style="font-size:100%">value</span>' in the &lt;message> portion of the error message):
 
: characters in position(s): (except as specified otherwise, violations produce '<span class="error" style="font-size:100%">value</span>' in the &lt;message> portion of the error message):
Line 227: Line 227:  
<section begin="bad_biorxiv_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_biorxiv}}
 
<section begin="bad_biorxiv_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_biorxiv}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|biorxiv}}, a test is done to see if the [[bioRxiv]] identifier has the proper form.  There are two valid forms, each beginning with bioRxiv's doi directory indicator and registrant code (10.1101) and followed by:
+
When {{cs1}} and {{cs2}} templates contain {{para|biorxiv}}, a test is done to see if the [[Wikipedia:bioRxiv|bioRxiv]] identifier has the proper form.  There are two valid forms, each beginning with bioRxiv's doi directory indicator and registrant code (10.1101) and followed by:
 
: six numeric characters without punctuation or spaces:
 
: six numeric characters without punctuation or spaces:
 
::{{para|biorxiv|10.1101/######}}
 
::{{para|biorxiv|10.1101/######}}
Line 246: Line 246:  
<section begin="bad_citeseerx_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_citeseerx}}
 
<section begin="bad_citeseerx_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_citeseerx}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|citeseerx}}, a test is done to see if the [[CiteSeerX]] identifier has the proper format.
+
When {{cs1}} and {{cs2}} templates contain {{para|citeseerx}}, a test is done to see if the [[Wikipedia:CiteSeerX|CiteSeerX]] identifier has the proper format.
The expected identifier is the value assigned to the <code>?doi=</code> query key in the URL of a CiteSeerX document. (This query key should not be confused with a [[Digital Object Identifier]]: it should not be input as {{para|doi}}.)
+
The expected identifier is the value assigned to the <code>?doi=</code> query key in the URL of a CiteSeerX document. (This query key should not be confused with a [[Wikipedia:Digital Object Identifier|Digital Object Identifier]]: it should not be input as {{para|doi}}.)
    
For instance, if you want to link to <code>http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.220.7880</code>, use {{para|citeseerx|10.1.1.220.7880}}.
 
For instance, if you want to link to <code>http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.220.7880</code>, use {{para|citeseerx|10.1.1.220.7880}}.
Line 277: Line 277:  
Future dates in {{para|date}} in CS1|2 citations are limited to current year + 1; that is, for {{#time:Y}}, citation dates in {{#time:Y|now +1 year}} are acceptable but citation dates in {{#time:Y|now +2 year}} and beyond are not.
 
Future dates in {{para|date}} in CS1|2 citations are limited to current year + 1; that is, for {{#time:Y}}, citation dates in {{#time:Y|now +1 year}} are acceptable but citation dates in {{#time:Y|now +2 year}} 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.
+
Dates prior to 1582 are treated as [[Wikipedia:Julian calendar|Julian calendar]] dates. Dates from 1582 onward are treated as [[Wikipedia:Gregorian calendar|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 {{para|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.
 
The access date (in {{para|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.
Line 313: Line 313:  
| Ambiguous date range or year and month || {{para|plain=y|date|2002-{{red|03}}}} || {{plainlist|
 
| Ambiguous date range or year and month || {{para|plain=y|date|2002-{{red|03}}}} || {{plainlist|
 
* {{para|plain=y|date|2002–{{green|20}}03}}
 
* {{para|plain=y|date|2002–{{green|20}}03}}
* {{para|plain=y|date|2002-03{{green|-XX}}}} ([[Extended Date Time Format|EDTF]] / ISO 8601:2019)
+
* {{para|plain=y|date|2002-03{{green|-XX}}}} ([[Wikipedia:Extended Date Time Format|EDTF]] / ISO 8601:2019)
 
* {{para|plain=y|date|{{green|March}} 2002}}}}
 
* {{para|plain=y|date|{{green|March}} 2002}}}}
 
|-
 
|-
Line 384: Line 384:  
<section begin="bad_isbn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_isbn|$1=&lt;type>}}
 
<section begin="bad_isbn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_isbn|$1=&lt;type>}}
   −
{{cs1}} and {{cs2}} templates that contain {{para|isbn}} are checked to ensure that the [[ISBN]] is the proper length (ten or thirteen digits), that the ISBN uses the correct optional separators (simple space or hyphen), and that the final [[check digit]] is correct according to the ISBN specification. Only one ISBN is allowed in this field because the whole {{para|isbn}} value is included in the citation's [[COinS]] [[metadata]]. See also [[Wikipedia:COinS]]. More than one ISBN, or characters that are not part of the ISBN, corrupt the COinS metadata and may also corrupt the link to [[Special:BookSources]]. (If relevant, they can be specified using {{para|id|{{tlp|ISBN|...}}}} instead.)
+
{{cs1}} and {{cs2}} templates that contain {{para|isbn}} are checked to ensure that the [[ISBN]] is the proper length (ten or thirteen digits), that the ISBN uses the correct optional separators (simple space or hyphen), and that the final [[Wikipedia:check digit|check digit]] is correct according to the ISBN specification. Only one ISBN is allowed in this field because the whole {{para|isbn}} value is included in the citation's [[Wikipedia:COinS|COinS]] [[Wikipedia:metadata|metadata]]. See also [[Wikipedia:COinS]]. More than one ISBN, or characters that are not part of the ISBN, corrupt the COinS metadata and may also corrupt the link to [[Special:BookSources]]. (If relevant, they can be specified using {{para|id|{{tlp|ISBN|...}}}} instead.)
    
The error message &lt;type> indicator can be:
 
The error message &lt;type> indicator can be:
Line 392: Line 392:  
: {{error-small|invalid prefix}} – 13-digit ISBNs must begin with '978' or '979'
 
: {{error-small|invalid prefix}} – 13-digit ISBNs must begin with '978' or '979'
 
: {{error-small|invalid form}} – 10-digit ISBNs with the mis-positioned 'X' character
 
: {{error-small|invalid form}} – 10-digit ISBNs with the mis-positioned 'X' character
: {{error-small|invalid group id}} – 13-digit ISBN begins with '9790'; this prefix / group ID combination is reserved to [[ISMN]]
+
: {{error-small|invalid group id}} – 13-digit ISBN begins with '9790'; this prefix / group ID combination is reserved to [[Wikipedia:ISMN|ISMN]]
 
To resolve this error, ensure that the {{para|isbn}} value is correct, that only one ISBN is used, that the proper optional separators are used, and that no other text is included. Use the ISBN printed on the work rather than one retrieved from third-party sources. If ''both are available'', use the 13-digit ISBN.. When a 10-digit ISBN is used, if the check digit is a lowercase 'x', change it to an uppercase 'X'.
 
To resolve this error, ensure that the {{para|isbn}} value is correct, that only one ISBN is used, that the proper optional separators are used, and that no other text is included. Use the ISBN printed on the work rather than one retrieved from third-party sources. If ''both are available'', use the 13-digit ISBN.. When a 10-digit ISBN is used, if the check digit is a lowercase 'x', change it to an uppercase 'X'.
   Line 411: Line 411:  
<section begin="bad_ismn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_ismn}}
 
<section begin="bad_ismn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_ismn}}
   −
{{cs1}} and {{cs2}} templates that contain {{para|ismn}} are checked to ensure that the [[ISMN]] is the proper length (thirteen digits), that the ISMN uses the correct optional separators (simple space or hyphen), and that the final [[check digit]] is correct according to the ISMN specification. Only one ISMN is allowed in this field because the whole {{para|ismn}} value is included in the citation's [[COinS]] [[metadata]]. See also [[Wikipedia:COinS]]. More than one ISMN, or characters that are not part of the ISMN, corrupt the COinS metadata. (If relevant, they can be specified using {{para|id|{{tlp|ISMN|...}}}} instead.)
+
{{cs1}} and {{cs2}} templates that contain {{para|ismn}} are checked to ensure that the [[Wikipedia:ISMN|ISMN]] is the proper length (thirteen digits), that the ISMN uses the correct optional separators (simple space or hyphen), and that the final [[Wikipedia:check digit|check digit]] is correct according to the ISMN specification. Only one ISMN is allowed in this field because the whole {{para|ismn}} value is included in the citation's [[Wikipedia:COinS|COinS]] [[Wikipedia:metadata|metadata]]. See also [[Wikipedia:COinS]]. More than one ISMN, or characters that are not part of the ISMN, corrupt the COinS metadata. (If relevant, they can be specified using {{para|id|{{tlp|ISMN|...}}}} instead.)
    
To resolve this error, ensure that the {{para|ismn}} value is correct, that only one ISMN is used, that the proper optional separators are used, and that no other text is included. Make sure that the ISMN contains exactly 13 digits.
 
To resolve this error, ensure that the {{para|ismn}} value is correct, that only one ISMN is used, that the proper optional separators are used, and that no other text is included. Make sure that the ISMN contains exactly 13 digits.
Line 424: Line 424:  
</div>
 
</div>
   −
{{cs1}} and {{cs2}} templates that contain {{para|issn}} and/or {{para|eissn}} are checked to ensure that the [[ISSN]] is the proper length (eight digits) and that the final [[check digit]] validates according to the ISSN specification. Only one each of ISSN and eISSN is allowed in this field because the whole {{para|issn}} and {{para|eissn}} values are included in the citation's [[COinS]] [[metadata]]. See also [[Wikipedia:COinS]]. (If relevant, they can be specified using {{para|id|{{tlp|ISSN|...}} {{tlp|EISSN|...}}}} instead.)
+
{{cs1}} and {{cs2}} templates that contain {{para|issn}} and/or {{para|eissn}} are checked to ensure that the [[Wikipedia:ISSN|ISSN]] is the proper length (eight digits) and that the final [[Wikipedia:check digit|check digit]] validates according to the ISSN specification. Only one each of ISSN and eISSN is allowed in this field because the whole {{para|issn}} and {{para|eissn}} values are included in the citation's [[Wikipedia:COinS|COinS]] [[Wikipedia:metadata|metadata]]. See also [[Wikipedia:COinS]]. (If relevant, they can be specified using {{para|id|{{tlp|ISSN|...}} {{tlp|EISSN|...}}}} instead.)
    
The ISSN and eISSN are always rendered as two four-digit numbers separated with a hyphen.
 
The ISSN and eISSN are always rendered as two four-digit numbers separated with a hyphen.
Line 437: Line 437:  
<section begin="bad_jfm_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_jfm}}
 
<section begin="bad_jfm_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_jfm}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|jfm}}, a test is done to see if the [[Jahrbuch über die Fortschritte der Mathematik|JFM]] identifier value looks like a properly defined value. The {{para|jfm}} identifier is checked to make sure that it has the form: <code>nn.nnnn.nn</code> where <code>n</code> is any digit 0–9. Further validation of the JFM identifier is not performed.
+
When {{cs1}} and {{cs2}} templates contain {{para|jfm}}, a test is done to see if the [[Wikipedia:Jahrbuch über die Fortschritte der Mathematik|JFM]] identifier value looks like a properly defined value. The {{para|jfm}} identifier is checked to make sure that it has the form: <code>nn.nnnn.nn</code> where <code>n</code> is any digit 0–9. Further validation of the JFM identifier is not performed.
    
To resolve this error, ensure that the {{para|jfm}} value is correct.
 
To resolve this error, ensure that the {{para|jfm}} value is correct.
Line 446: Line 446:  
<section begin="bad_jstor_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_jstor}}
 
<section begin="bad_jstor_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_jstor}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|jstor}}, a test is done to see if the [[JSTOR (identifier)|JSTOR]] identifier value looks like a properly defined value.  Error messages are emitted when the assigned value has some form of the string 'jstor' (case-agnostic), or has a URI scheme (<code>http://</code> or <code>https://</code>), or has any space characters.
+
When {{cs1}} and {{cs2}} templates contain {{para|jstor}}, a test is done to see if the [[Wikipedia:JSTOR (identifier)|JSTOR]] identifier value looks like a properly defined value.  Error messages are emitted when the assigned value has some form of the string 'jstor' (case-agnostic), or has a URI scheme (<code>http://</code> or <code>https://</code>), or has any space characters.
    
To resolve this error, ensure that the {{para|jstor}} value is correct.
 
To resolve this error, ensure that the {{para|jstor}} value is correct.
Line 455: Line 455:  
<section begin="bad_lccn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_lccn}}
 
<section begin="bad_lccn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_lccn}}
   −
The {{para|lccn}} parameter is for the [[Library of Congress Control Number]] identifier. It is checked to ensure that the identifier is the proper length and has the correct initial digits.
+
The {{para|lccn}} parameter is for the [[Wikipedia:Library of Congress Control Number|Library of Congress Control Number]] identifier. It is checked to ensure that the identifier is the proper length and has the correct initial digits.
   −
LCCN is a character string 8–12 characters long. The length of the LCCN dictates the character type of the initial 1–3 characters; the rightmost eight are always digits.<ref>{{cite web |url=https://www.loc.gov/marc/lccn-namespace.html#syntax |title=The LCCN Namespace |website=Network Development and MARC Standards Office |publisher=[[Library of Congress]] |date=November 2003}}</ref>
+
LCCN is a character string 8–12 characters long. The length of the LCCN dictates the character type of the initial 1–3 characters; the rightmost eight are always digits.<ref>{{cite web |url=https://www.loc.gov/marc/lccn-namespace.html#syntax |title=The LCCN Namespace |website=Network Development and MARC Standards Office |publisher=[[Wikipedia:Library of Congress|Library of Congress]] |date=November 2003}}</ref>
 
{|class="wikitable"
 
{|class="wikitable"
 
|+ LCCN format description
 
|+ LCCN format description
Line 485: Line 485:  
<section begin="bad_message_id_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_usenet_id}}
 
<section begin="bad_message_id_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_usenet_id}}
   −
The {{para|message-id}} parameter holds the unique identifier associated with a netnews message.<ref>{{cite web |url=//tools.ietf.org/html/rfc5536 |title=Netnews Article Format |website=[[Internet Engineering Task Force]] |at=[//tools.ietf.org/html/rfc5536#section-3.1.3 3.1.3] |rfc=5536 |date=November 2009}}</ref>  The value in {{para|message-id}} is checked to make sure that it contains <code>@</code> between left and right identifiers. {{para|message-id}} is also checked to make sure that the first character is not <code>&lt;</code> and the last character is not <code>></code>. [[Module:Citation/CS1]] adds the [[URI scheme]] <code>news:</code> to the value in {{para|message-id}}.  If the value in {{para|message-id}} is wrapped in <code><...></code> characters, the link created fails.
+
The {{para|message-id}} parameter holds the unique identifier associated with a netnews message.<ref>{{cite web |url=//tools.ietf.org/html/rfc5536 |title=Netnews Article Format |website=[[Wikipedia:Internet Engineering Task Force|Internet Engineering Task Force]] |at=[//tools.ietf.org/html/rfc5536#section-3.1.3 3.1.3] |rfc=5536 |date=November 2009}}</ref>  The value in {{para|message-id}} is checked to make sure that it contains <code>@</code> between left and right identifiers. {{para|message-id}} is also checked to make sure that the first character is not <code>&lt;</code> and the last character is not <code>></code>. [[Module:Citation/CS1]] adds the [[Wikipedia:URI scheme|URI scheme]] <code>news:</code> to the value in {{para|message-id}}.  If the value in {{para|message-id}} is wrapped in <code><...></code> characters, the link created fails.
    
Further validation is not performed.
 
Further validation is not performed.
Line 496: Line 496:  
<section begin="bad_mr_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_mr}}
 
<section begin="bad_mr_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_mr}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|mr}}, a test is done to see if the [[Mathematical Reviews|MR]] identifier value looks like a properly defined value. The {{para|mr}} identifier is checked to make sure that it contains only digits and that it is no more than seven digits in length. Further validation of the MR identifier is not performed.
+
When {{cs1}} and {{cs2}} templates contain {{para|mr}}, a test is done to see if the [[Wikipedia:Mathematical Reviews|MR]] identifier value looks like a properly defined value. The {{para|mr}} identifier is checked to make sure that it contains only digits and that it is no more than seven digits in length. Further validation of the MR identifier is not performed.
    
To resolve this error, ensure that the {{para|mr}} value is correct.
 
To resolve this error, ensure that the {{para|mr}} value is correct.
Line 505: Line 505:  
<section begin="bad_oclc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_oclc}}
 
<section begin="bad_oclc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_oclc}}
   −
The {{para|oclc}} parameter is for the [[OCLC]] identifier. Only a single OCLC identifier is allowed. (If relevant, multiple OCLCs can be specified using {{para|id|{{tlp|OCLC|...}}}} instead.)
+
The {{para|oclc}} parameter is for the [[Wikipedia:OCLC|OCLC]] identifier. Only a single OCLC identifier is allowed. (If relevant, multiple OCLCs can be specified using {{para|id|{{tlp|OCLC|...}}}} instead.)
    
The identifier must be in one of these forms:
 
The identifier must be in one of these forms:
Line 519: Line 519:  
If the value is correct and larger than the currently configured limit of {{#invoke:Cs1 documentation support|id_limits_get|oclc}}, please report this at [[Help talk:Citation Style 1]], so that the limit can be updated.
 
If the value is correct and larger than the currently configured limit of {{#invoke:Cs1 documentation support|id_limits_get|oclc}}, please report this at [[Help talk:Citation Style 1]], so that the limit can be updated.
   −
A tip for fixing this error: Editors sometimes place valid [[ISBN]], [[LCCN]], [[ASIN]], or other identifiers in {{para|oclc}}.  
+
A tip for fixing this error: Editors sometimes place valid [[Wikipedia:ISBN|ISBN]], [[Wikipedia:LCCN|LCCN]], [[Wikipedia:ASIN|ASIN]], or other identifiers in {{para|oclc}}.  
    
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_oclc|pages=yes}}.<ref group="lower-alpha" name="categories" /><section end="bad_oclc_help_text" />
 
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_oclc|pages=yes}}.<ref group="lower-alpha" name="categories" /><section end="bad_oclc_help_text" />
Line 526: Line 526:  
<section begin="bad_ol_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_ol}}
 
<section begin="bad_ol_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_ol}}
   −
The {{para|ol}} parameter is for the [[Open Library]] identifier. The identifier is one or more digits followed by a last character that is either <code>A</code> (authors), <code>M</code> (books), or <code>W</code> (works). Further validation is not performed.
+
The {{para|ol}} parameter is for the [[Wikipedia:Open Library|Open Library]] identifier. The identifier is one or more digits followed by a last character that is either <code>A</code> (authors), <code>M</code> (books), or <code>W</code> (works). Further validation is not performed.
    
To resolve this error, ensure that the {{para|ol}} value is correct. Do not include "OL" in the value.
 
To resolve this error, ensure that the {{para|ol}} value is correct. Do not include "OL" in the value.
Line 535: Line 535:  
<section begin="bad_osti_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_osti}}
 
<section begin="bad_osti_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_osti}}
   −
The {{para|osti}} parameter is for the [[Office of Scientific and Technical Information]] (OSTI) identifier. OSTIs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1018 and {{#invoke:Cs1 documentation support|id_limits_get|osti}}. Further validation is not performed.
+
The {{para|osti}} parameter is for the [[Wikipedia:Office of Scientific and Technical Information|Office of Scientific and Technical Information]] (OSTI) identifier. OSTIs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1018 and {{#invoke:Cs1 documentation support|id_limits_get|osti}}. Further validation is not performed.
    
A common error is to include the OSTI ''URL'' (<code><nowiki>https://dx.doi.org/10.2172/</nowiki>{{red|&lt;{{var|OSTI>}}}}</code>), or the OSTI ''DOI'' (<code>10.2172/{{red|&lt;{{var|OSTI>}}}}</code>).
 
A common error is to include the OSTI ''URL'' (<code><nowiki>https://dx.doi.org/10.2172/</nowiki>{{red|&lt;{{var|OSTI>}}}}</code>), or the OSTI ''DOI'' (<code>10.2172/{{red|&lt;{{var|OSTI>}}}}</code>).
Line 552: Line 552:  
</div>
 
</div>
   −
These link-holding parameters and their matching title-holding parameters are combined to create a working [[wikilink]] to a related article.
+
These link-holding parameters and their matching title-holding parameters are combined to create a working [[Wikipedia:wikilink|wikilink]] to a related article.
 
{{div col|colwidth=20em}}
 
{{div col|colwidth=20em}}
 
* {{para|author-link}}
 
* {{para|author-link}}
Line 576: Line 576:  
(Parameters checked for this error may also be of the form {{para|author-link{{var|n}}}} or {{para|author{{var|n}}-link}}.)
 
(Parameters checked for this error may also be of the form {{para|author-link{{var|n}}}} or {{para|author{{var|n}}-link}}.)
   −
This error occurs when any of these {{para|&lt;param>-link}} parameters contain a wikilink or a URL, or they contain any of the characters not permitted in Wikipedia article titles per [[WP:TITLESPECIALCHARACTERS]] (except <code>_</code> (underscore), used as a replacement for spaces, and <code>#</code>, used as a [[fragment identifier]] when linking to article sections).  The prohibited characters are: <code>&lt; > [ ] | { }</code>.
+
This error occurs when any of these {{para|&lt;param>-link}} parameters contain a wikilink or a URL, or they contain any of the characters not permitted in Wikipedia article titles per [[WP:TITLESPECIALCHARACTERS]] (except <code>_</code> (underscore), used as a replacement for spaces, and <code>#</code>, used as a [[Wikipedia:fragment identifier|fragment identifier]] when linking to article sections).  The prohibited characters are: <code>&lt; > [ ] | { }</code>.
   −
The {{para|&lt;param>-link}} parameter value should contain only the title of a Wikipedia article or a link to a section of a Wikipedia article. [[Module:Citation/CS1]] checks the {{para|&lt;param>-link}} parameter values for wikimarkup and for a [[URI scheme]] (<code>http://</code>, <code>https://</code>, the protocol relative scheme <code>//</code>, etc.).  Interlanguage links in any of the {{para|&lt;param>-link}} parameters require a leading colon:
+
The {{para|&lt;param>-link}} parameter value should contain only the title of a Wikipedia article or a link to a section of a Wikipedia article. [[Module:Citation/CS1]] checks the {{para|&lt;param>-link}} parameter values for wikimarkup and for a [[Wikipedia:URI scheme|URI scheme]] (<code>http://</code>, <code>https://</code>, the protocol relative scheme <code>//</code>, etc.).  Interlanguage links in any of the {{para|&lt;param>-link}} parameters require a leading colon:
 
: <code><nowiki>:fr:Période d'exil de Caravage</nowiki></code>
 
: <code><nowiki>:fr:Période d'exil de Caravage</nowiki></code>
 
While primarily intended to catch the errors mentioned above, Module:Citation/CS1 will also catch malformed interlanguage wikilinks wherever they occur.  Interlanguage wikilinks that have the form:
 
While primarily intended to catch the errors mentioned above, Module:Citation/CS1 will also catch malformed interlanguage wikilinks wherever they occur.  Interlanguage wikilinks that have the form:
Line 606: Line 606:  
<section begin="bad_pmc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_pmc}}
 
<section begin="bad_pmc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_pmc}}
   −
The {{para|pmc}} parameter is for the [[PubMed Central]] identifier. PMCs are sequential numbers beginning at 1 and counting up. [[Module:Citation/CS1]] checks the PMC identifier to make sure that the value is a number greater than zero and less than {{#invoke:Cs1 documentation support|id_limits_get|pmc}} and that the identifier contains only digits. Further validation is not performed.
+
The {{para|pmc}} parameter is for the [[Wikipedia:PubMed Central|PubMed Central]] identifier. PMCs are sequential numbers beginning at 1 and counting up. [[Module:Citation/CS1]] checks the PMC identifier to make sure that the value is a number greater than zero and less than {{#invoke:Cs1 documentation support|id_limits_get|pmc}} and that the identifier contains only digits. Further validation is not performed.
    
To resolve this error, ensure that the {{para|pmc}} value is correct, and that there are no letters, punctuation, or other characters. Do not include "PMC" in the value.  
 
To resolve this error, ensure that the {{para|pmc}} value is correct, and that there are no letters, punctuation, or other characters. Do not include "PMC" in the value.  
Line 617: Line 617:  
<section begin="bad_pmid_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_pmid}}
 
<section begin="bad_pmid_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_pmid}}
   −
The {{para|pmid}} parameter is for the [[PubMed#PubMed identifier|PubMed identifier]]. PMIDs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1 and {{#invoke:Cs1 documentation support|id_limits_get|pmid}}. Further validation is not performed.
+
The {{para|pmid}} parameter is for the [[Wikipedia:PubMed#PubMed identifier|PubMed identifier]]. PMIDs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1 and {{#invoke:Cs1 documentation support|id_limits_get|pmid}}. Further validation is not performed.
    
To resolve this error, ensure that the {{para|pmid}} value is correct. If you find something that looks like a PMID and begins with "PMC", use {{para|pmc}} instead of {{para|pmid}}.
 
To resolve this error, ensure that the {{para|pmid}} value is correct. If you find something that looks like a PMID and begins with "PMC", use {{para|pmc}} instead of {{para|pmid}}.
Line 628: Line 628:  
<section begin="bad_rfc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_rfc}}
 
<section begin="bad_rfc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_rfc}}
   −
The {{para|rfc}} parameter is for the Internet Engineering Task Force (IETF) [[IETF RFC|RFC]] identifier (unrelated to Wikipedia's internal RfCs). IETF RFCs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1 and {{#invoke:Cs1 documentation support|id_limits_get|rfc}}. Further validation is not performed.
+
The {{para|rfc}} parameter is for the Internet Engineering Task Force (IETF) [[Wikipedia:IETF RFC|RFC]] identifier (unrelated to Wikipedia's internal RfCs). IETF RFCs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1 and {{#invoke:Cs1 documentation support|id_limits_get|rfc}}. Further validation is not performed.
    
To resolve this error, ensure that the {{para|rfc}} value is correct.
 
To resolve this error, ensure that the {{para|rfc}} value is correct.
Line 639: Line 639:  
<section begin="bad_sbn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_sbn|$1=&lt;type>}}
 
<section begin="bad_sbn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_sbn|$1=&lt;type>}}
   −
{{cs1}} and {{cs2}} templates that contain {{para|sbn}} are checked to ensure that the [[Standard Book Number|SBN]] is the proper length (nine digits), that the SBN uses the correct optional separators (simple space or hyphen), and that the final [[check digit]] is correct according to the SBN specification. Only one SBN is allowed in this field because the whole {{para|sbn}} value is included in the citation's [[COinS]] [[metadata]]. See also [[Wikipedia:COinS]]. More than one SBN, or characters that are not part of the SBN, corrupt the COinS metadata and may also corrupt the link to [[Special:BookSources]].
+
{{cs1}} and {{cs2}} templates that contain {{para|sbn}} are checked to ensure that the [[Wikipedia:Standard Book Number|SBN]] is the proper length (nine digits), that the SBN uses the correct optional separators (simple space or hyphen), and that the final [[Wikipedia:check digit|check digit]] is correct according to the SBN specification. Only one SBN is allowed in this field because the whole {{para|sbn}} value is included in the citation's [[Wikipedia:COinS|COinS]] [[Wikipedia:metadata|metadata]]. See also [[Wikipedia:COinS]]. More than one SBN, or characters that are not part of the SBN, corrupt the COinS metadata and may also corrupt the link to [[Special:BookSources]].
    
The error message &lt;type> indicator can be:
 
The error message &lt;type> indicator can be:
Line 660: Line 660:  
<section begin="bad_ssrn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_ssrn}}
 
<section begin="bad_ssrn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_ssrn}}
   −
The {{para|ssrn}} parameter is for the [[Social Science Research Network|Social Science Research Network identifier]]. SSRNs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 100 and {{#invoke:Cs1 documentation support|id_limits_get|ssrn}}. Further validation is not performed.
+
The {{para|ssrn}} parameter is for the [[Wikipedia:Social Science Research Network|Social Science Research Network identifier]]. SSRNs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 100 and {{#invoke:Cs1 documentation support|id_limits_get|ssrn}}. Further validation is not performed.
    
To resolve this error, ensure that the {{para|ssrn}} value is correct.
 
To resolve this error, ensure that the {{para|ssrn}} value is correct.
Line 671: Line 671:  
<section begin="bad_s2cid_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_s2cid}}
 
<section begin="bad_s2cid_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_s2cid}}
   −
The {{para|s2cid}} parameter is for the [[Semantic Scholar]] corpus identifier. S2CIDs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1 and {{#invoke:Cs1 documentation support|id_limits_get|s2cid}}. Further validation is not performed.
+
The {{para|s2cid}} parameter is for the [[Wikipedia:Semantic Scholar|Semantic Scholar]] corpus identifier. S2CIDs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1 and {{#invoke:Cs1 documentation support|id_limits_get|s2cid}}. Further validation is not performed.
    
To resolve this error, ensure that the {{para|s2cid}} value is correct.
 
To resolve this error, ensure that the {{para|s2cid}} value is correct.
Line 682: Line 682:  
<section begin="bad_url_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_url|$1=<code class="cs1-code">{{pipe}}url=</code>}}
 
<section begin="bad_url_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_url|$1=<code class="cs1-code">{{pipe}}url=</code>}}
   −
External links in {{cs1}} and {{cs2}} templates are made from two parts: the ''title'' ({{para|title}}, {{para|chapter}}, etc.) and the ''URL'' ({{para|url}}, {{para|archive-url}}, {{para|chapter-url}}, {{para|lay-url}}, etc.). The {{para|url}} parameter and other URL parameters must begin with a supported [[URI scheme]]. The URI schemes <code>http://</code>, <code>https://</code> and the protocol relative scheme <code>//</code> are most commonly used; <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news:</code>, <code>mailto:</code> and <code>gopher://</code> are also supported.
+
External links in {{cs1}} and {{cs2}} templates are made from two parts: the ''title'' ({{para|title}}, {{para|chapter}}, etc.) and the ''URL'' ({{para|url}}, {{para|archive-url}}, {{para|chapter-url}}, {{para|lay-url}}, etc.). The {{para|url}} parameter and other URL parameters must begin with a supported [[Wikipedia:URI scheme|URI scheme]]. The URI schemes <code>http://</code>, <code>https://</code> and the protocol relative scheme <code>//</code> are most commonly used; <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news:</code>, <code>mailto:</code> and <code>gopher://</code> are also supported.
   −
The URL field is checked to ensure that it contains only Latin characters and does not contain spaces.  The URL may be protocol relative (begins with <code>//</code>).  If there are no spaces and the URL is not protocol relative, then the scheme must comply with <nowiki>RFC 3986</nowiki>.<ref>{{citation |mode=cs1 |contribution-url=http://tools.ietf.org/html/std66#section-3.1 |contribution=Scheme |title=Uniform Resource Identifier (URI): Generic Syntax |publisher=[[Internet Engineering Task Force]] |date=January 2005 |rfc=3986}}</ref>   
+
The URL field is checked to ensure that it contains only Latin characters and does not contain spaces.  The URL may be protocol relative (begins with <code>//</code>).  If there are no spaces and the URL is not protocol relative, then the scheme must comply with <nowiki>RFC 3986</nowiki>.<ref>{{citation |mode=cs1 |contribution-url=http://tools.ietf.org/html/std66#section-3.1 |contribution=Scheme |title=Uniform Resource Identifier (URI): Generic Syntax |publisher=[[Wikipedia:Internet Engineering Task Force|Internet Engineering Task Force]] |date=January 2005 |rfc=3986}}</ref>   
   −
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 domain]]s are supported for:
+
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).  [[Wikipedia:Single-letter second-level domain|Single-letter second-level domain]]s are supported for:
* all [[Country code top-level domain|cc TLD]]s (the country code is not validated)
+
* all [[Wikipedia:Country code top-level domain|cc TLD]]s (the country code is not validated)
* the [[.org]] [[TLD]]
+
* the [[Wikipedia:.org|.org]] [[Wikipedia:TLD|TLD]]
* certain letters of the [[.com]] TLD (q, x, z)
+
* certain letters of the [[Wikipedia:.com|.com]] TLD (q, x, z)
* certain letters of the [[.net]] TLD (i, q)
+
* certain letters of the [[Wikipedia:.net|.net]] TLD (i, q)
 
Third- and subsequent-level domain names are not checked.  The path portion of the URL is not checked.
 
Third- and subsequent-level domain names are not checked.  The path portion of the URL is not checked.
   Line 697: Line 697:  
The cs1|2 templates expect that {{para|archive-url}} will hold a unique url for an archived snapshot of the source identified by {{para|url}} or {{para|chapter-url}} (or any of its aliases).  This error message is emitted when the value assigned to {{para|archive-url}} is the same as the matching title or chapter url.   
 
The cs1|2 templates expect that {{para|archive-url}} will hold a unique url for an archived snapshot of the source identified by {{para|url}} or {{para|chapter-url}} (or any of its aliases).  This error message is emitted when the value assigned to {{para|archive-url}} is the same as the matching title or chapter url.   
   −
To resolve this error, ensure that {{para|url}} and other URL parameters contain valid URLs.  Online tools are available to [[Internationalized domain name|internationalize]] URLs that are written in non-Latin scripts:
+
To resolve this error, ensure that {{para|url}} and other URL parameters contain valid URLs.  Online tools are available to [[Wikipedia:Internationalized domain name|internationalize]] URLs that are written in non-Latin scripts:
 
* {{cite web |url=https://www.verisign.com/en_US/channel-resources/domain-registry-products/idn/idn-conversion-tool/index.xhtml?loc=en_US |title=IDN Conversion Tool |website=Verisign }}
 
* {{cite web |url=https://www.verisign.com/en_US/channel-resources/domain-registry-products/idn/idn-conversion-tool/index.xhtml?loc=en_US |title=IDN Conversion Tool |website=Verisign }}
   Line 705: Line 705:  
<section begin="bad_zbl_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_zbl}}
 
<section begin="bad_zbl_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_zbl}}
   −
When {{cs1}} and {{cs2}} templates contain {{para|zbl}}, a test is done to see if the [[Zentralblatt MATH|Zbl]] identifier value looks like a properly defined value. The {{para|zbl}} identifier is checked to make sure that it has the form: <code>nnnn.nnnnn</code> where <code>n</code> is any digit 0–9. Up to three leading zeros in the first quartet may be omitted.  Further validation of the Zbl identifier is not performed.
+
When {{cs1}} and {{cs2}} templates contain {{para|zbl}}, a test is done to see if the [[Wikipedia:Zentralblatt MATH|Zbl]] identifier value looks like a properly defined value. The {{para|zbl}} identifier is checked to make sure that it has the form: <code>nnnn.nnnnn</code> where <code>n</code> is any digit 0–9. Up to three leading zeros in the first quartet may be omitted.  Further validation of the Zbl identifier is not performed.
    
To resolve this error, ensure that the {{para|zbl}} value is correct.
 
To resolve this error, ensure that the {{para|zbl}} value is correct.
Line 1,245: Line 1,245:  
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_format_missing_url|$1=...-format|$2=...-url}}}}
 
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_format_missing_url|$1=...-format|$2=...-url}}}}
   −
These errors occur when {{cs1}} and {{cs2}} templates use {{para|format}} or {{para|...-format}} without also providing a corresponding URL for {{para|url}} or {{para|...-url}}, respectively. The {{para|format}} and {{para|...-format}} parameters are used to specify the file format of a web resource, such as [[PDF]], [[Doc (computing)|DOC]], or [[Microsoft Excel file format|XLS]]. In some cases an editor may have intended to use {{para|type}} to specify a kind of document, such as hard cover, paperback, or pamphlet. The {{para|format}} and {{para|...-format}} value is always displayed.
+
These errors occur when {{cs1}} and {{cs2}} templates use {{para|format}} or {{para|...-format}} without also providing a corresponding URL for {{para|url}} or {{para|...-url}}, respectively. The {{para|format}} and {{para|...-format}} parameters are used to specify the file format of a web resource, such as [[Wikipedia:PDF|PDF]], [[Wikipedia:Doc (computing)|DOC]], or [[Wikipedia:Microsoft Excel file format|XLS]]. In some cases an editor may have intended to use {{para|type}} to specify a kind of document, such as hard cover, paperback, or pamphlet. The {{para|format}} and {{para|...-format}} value is always displayed.
    
The list of {{para|...-format}} parameters is:
 
The list of {{para|...-format}} parameters is:
Line 1,329: Line 1,329:  
The various {{para|script-&lt;{{var|param}}>}} parameters are checked for proper form.  When an error is detected, the error message briefly identifies the type of the error:
 
The various {{para|script-&lt;{{var|param}}>}} parameters are checked for proper form.  When an error is detected, the error message briefly identifies the type of the error:
 
: <span class="error" style="font-size:100%">missing title part</span> – the {{para|script-&lt;{{var|param}}>}} parameter has a language-code prefix but is otherwise empty
 
: <span class="error" style="font-size:100%">missing title part</span> – the {{para|script-&lt;{{var|param}}>}} parameter has a language-code prefix but is otherwise empty
: <span class="error" style="font-size:100%">missing prefix</span> – the {{para|script-&lt;{{var|param}}>}} parameter has text but is missing the required language-code prefix; the prefix has the form <code>xx:</code> or <code>xxx:</code> where <code>xx</code> or <code>xxx</code> is a valid [[ISO 639-1]] or [[ISO 639-3]] language code known to CS1|2 as a language that uses a non-Latin script; the colon (<code>:</code>) is required
+
: <span class="error" style="font-size:100%">missing prefix</span> – the {{para|script-&lt;{{var|param}}>}} parameter has text but is missing the required language-code prefix; the prefix has the form <code>xx:</code> or <code>xxx:</code> where <code>xx</code> or <code>xxx</code> is a valid [[Wikipedia:ISO 639-1|ISO 639-1]] or [[Wikipedia:ISO 639-3|ISO 639-3]] language code known to CS1|2 as a language that uses a non-Latin script; the colon (<code>:</code>) is required
 
: <span class="error" style="font-size:100%">unknown language code</span> – the {{para|script-&lt;{{var|param}}>}} parameter has a (possibly valid) language code that CS1|2 does not recognize as a language using a non-Latin script
 
: <span class="error" style="font-size:100%">unknown language code</span> – the {{para|script-&lt;{{var|param}}>}} parameter has a (possibly valid) language code that CS1|2 does not recognize as a language using a non-Latin script
 
Language codes known to CS1|2 for languages that do not use a Latin script are:
 
Language codes known to CS1|2 for languages that do not use a Latin script are:
Line 1,381: Line 1,381:  
<section begin="bare_url_missing_title_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bare_url_missing_title|$1=<code class="cs1-code">{{pipe}}&lt;param>=</code>}}
 
<section begin="bare_url_missing_title_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bare_url_missing_title|$1=<code class="cs1-code">{{pipe}}&lt;param>=</code>}}
   −
All {{cs1}} and {{cs2}} templates report this error when one of the [[URL]]-containing parameters cannot be paired with an associated title. This error may also occur when {{para|title}} cannot be linked with {{para|url}} because the citation also contains a conflicting {{para|title-link}} parameter.
+
All {{cs1}} and {{cs2}} templates report this error when one of the [[Wikipedia:URL|URL]]-containing parameters cannot be paired with an associated title. This error may also occur when {{para|title}} cannot be linked with {{para|url}} because the citation also contains a conflicting {{para|title-link}} parameter.
    
{|class="wikitable"
 
{|class="wikitable"
Line 1,569: Line 1,569:  
<section begin="text_ignored_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_text_ignored|$1=????}}
 
<section begin="text_ignored_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_text_ignored|$1=????}}
   −
Unlike many Wikipedia templates, the {{cs1}} and {{cs2}} templates do not use unnamed or positional parameters. When a citation contains text between [[vertical bar]]s and that text does not contain an equal sign (=), CS1|2 ignores the text and reports the error. This is true even when the text is the name of a valid parameter.
+
Unlike many Wikipedia templates, the {{cs1}} and {{cs2}} templates do not use unnamed or positional parameters. When a citation contains text between [[Wikipedia:vertical bar|vertical bar]]s and that text does not contain an equal sign (=), CS1|2 ignores the text and reports the error. This is true even when the text is the name of a valid parameter.
    
This error can also be caused by vertical bars (pipe characters) that are part of URLs or titles. When vertical bars occur in URLs, replace each vertical bar with <code>%7C</code>. When vertical bars occur in parameter values that are not URLs, replace each vertical bar with <code>&amp;#124;</code> or <code>{{tl|!}}</code>.
 
This error can also be caused by vertical bars (pipe characters) that are part of URLs or titles. When vertical bars occur in URLs, replace each vertical bar with <code>%7C</code>. When vertical bars occur in parameter values that are not URLs, replace each vertical bar with <code>&amp;#124;</code> or <code>{{tl|!}}</code>.
Line 1,606: Line 1,606:  
<section begin="wikilink_in_url_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_wikilink_in_url}}
 
<section begin="wikilink_in_url_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_wikilink_in_url}}
   −
External links in a rendered citation are a combination of url-holding parameters, {{para|url}}, {{para|chapter-url}}, etc., with title-holding parameters, {{para|title}}, {{para|chapter}}, etc. Title-holding parameters may be [[wikilink]]ed to another Wikipedia article but not when there is a matching url-holding parameter in the citation. When this condition occurs, the wikilink is suppressed, the wiki markup ignored, and the rendered citation links to the external site.
+
External links in a rendered citation are a combination of url-holding parameters, {{para|url}}, {{para|chapter-url}}, etc., with title-holding parameters, {{para|title}}, {{para|chapter}}, etc. Title-holding parameters may be [[Wikipedia:wikilink|wikilink]]ed to another Wikipedia article but not when there is a matching url-holding parameter in the citation. When this condition occurs, the wikilink is suppressed, the wiki markup ignored, and the rendered citation links to the external site.
    
With {{tlx|cite journal}}, auto-linking of the {{para|pmc}} or {{para|doi}} parameter value can cause this condition to occur implicitly without a specific url-holding parameter.
 
With {{tlx|cite journal}}, auto-linking of the {{para|pmc}} or {{para|doi}} parameter value can cause this condition to occur implicitly without a specific url-holding parameter.
Line 1,625: Line 1,625:  
This error is reported for citations that use {{para|vauthors}}, {{para|veditors}}, {{para|name-list-style|vanc}}.
 
This error is reported for citations that use {{para|vauthors}}, {{para|veditors}}, {{para|name-list-style|vanc}}.
   −
[[Vancouver style]] restricts author or editor names to the Latin alphabet. For the purposes of this test, [[Module:Citation/CS1]] defines the Latin alphabet as the letters defined in the [[Unicode]] Latin character sets:
+
[[Wikipedia:Vancouver style|Vancouver style]] restricts author or editor names to the Latin alphabet. For the purposes of this test, [[Module:Citation/CS1]] defines the Latin alphabet as the letters defined in the [[Wikipedia:Unicode|Unicode]] Latin character sets:
: C0 Controls and Basic Latin<ref>{{cite web |title=C0 Controls and Basic Latin |website=[[Unicode]] |url=https://www.unicode.org/charts/PDF/U0000.pdf |access-date=2015-04-19}}</ref> (0041–005A, 0061–007A)
+
: C0 Controls and Basic Latin<ref>{{cite web |title=C0 Controls and Basic Latin |website=[[Wikipedia:Unicode|Unicode]] |url=https://www.unicode.org/charts/PDF/U0000.pdf |access-date=2015-04-19}}</ref> (0041–005A, 0061–007A)
 
: C1 Controls and Latin-1 Supplement<ref>{{cite web |title=C1 Controls and Latin-1 Supplement |website=Unicode |url=https://www.unicode.org/charts/PDF/U0080.pdf |access-date=2015-04-19}}</ref> (00C0–00D6, 00D8–00F6, 00F8–00FF)
 
: C1 Controls and Latin-1 Supplement<ref>{{cite web |title=C1 Controls and Latin-1 Supplement |website=Unicode |url=https://www.unicode.org/charts/PDF/U0080.pdf |access-date=2015-04-19}}</ref> (00C0–00D6, 00D8–00F6, 00F8–00FF)
 
: Latin Extended-A<ref>{{cite web |title=Latin Extended-A |website=Unicode |url=https://www.unicode.org/charts/PDF/U0100.pdf |access-date=2015-04-19}}</ref> (0100–017F)
 
: Latin Extended-A<ref>{{cite web |title=Latin Extended-A |website=Unicode |url=https://www.unicode.org/charts/PDF/U0100.pdf |access-date=2015-04-19}}</ref> (0100–017F)
Line 1,636: Line 1,636:  
: {{para|vauthors|First Surname FM, Surname AB, {{green|((}}Corporate or institutional Author{{green|))}}, Last Surname XY}}
 
: {{para|vauthors|First Surname FM, Surname AB, {{green|((}}Corporate or institutional Author{{green|))}}, Last Surname XY}}
   −
While normally correct, sometimes the names listed on a PMID page contain errors when the author surname has a lowercase [[nobiliary particle]].  For example, {{PMID|17726700}} lists Magnus von Knebel Doeberitz as Doeberitz Mv which is not correct.  This author's name should be listed as {{para|vauthors|von Knebel Doeberitz M}}.<ref>{{cite web |title=Other surname rules |website=National Center for Biotechnology Information |date=2018-05-18 |url=https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33081/}}</ref>
+
While normally correct, sometimes the names listed on a PMID page contain errors when the author surname has a lowercase [[Wikipedia:nobiliary particle|nobiliary particle]].  For example, {{PMID|17726700}} lists Magnus von Knebel Doeberitz as Doeberitz Mv which is not correct.  This author's name should be listed as {{para|vauthors|von Knebel Doeberitz M}}.<ref>{{cite web |title=Other surname rules |website=National Center for Biotechnology Information |date=2018-05-18 |url=https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33081/}}</ref>
    
Certain punctuation will be flagged as an error.  For example, Unicode U+2019, right single quotation mark, causes an error because it is not a member of the Latin character sets identified above: {{para|vauthors|Van{{red|’}}t Veer M}}.  Replace this character with the straight (or typewriter) apostrophe: {{para|vauthors|Van{{green|'}}t Veer M}}.
 
Certain punctuation will be flagged as an error.  For example, Unicode U+2019, right single quotation mark, causes an error because it is not a member of the Latin character sets identified above: {{para|vauthors|Van{{red|’}}t Veer M}}.  Replace this character with the straight (or typewriter) apostrophe: {{para|vauthors|Van{{green|'}}t Veer M}}.
   −
To resolve this error, Romanize author and editor names.<ref>{{cite book |chapter=Names in non-roman alphabets or character-based languages |title=Citing Medicine: The NLM Style Guide for Authors, Editors, and Publishers |author-last=Patrias |author-first=Karen |editor-last=Wendling |editor-first=Dan |location=Bethesda, Maryland, USA |publisher=[[National Library of Medicine]] |date=2007 |edition=2nd |chapter-url=https://www.ncbi.nlm.nih.gov/books/NBK7258/box/A48818/}}</ref>  Romanizing can result in two-letter initials, for example, the Greek letter 'Θ' Romanizes to 'Th'.<ref>{{cite web |title=Greek |website=Library of Congress |url=https://www.loc.gov/catdir/cpso/romanization/greek.pdf}}</ref> 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 [[Help:Citation_Style_1#Accept-this-as-written_markup|doubled parentheses]]: {{para|vauthors|...,  Tatarinov IuS, ...}} → {{para|vauthors|...,  ((Tatarinov IuS)), ...}}
+
To resolve this error, Romanize author and editor names.<ref>{{cite book |chapter=Names in non-roman alphabets or character-based languages |title=Citing Medicine: The NLM Style Guide for Authors, Editors, and Publishers |author-last=Patrias |author-first=Karen |editor-last=Wendling |editor-first=Dan |location=Bethesda, Maryland, USA |publisher=[[Wikipedia:National Library of Medicine|National Library of Medicine]] |date=2007 |edition=2nd |chapter-url=https://www.ncbi.nlm.nih.gov/books/NBK7258/box/A48818/}}</ref>  Romanizing can result in two-letter initials, for example, the Greek letter 'Θ' Romanizes to 'Th'.<ref>{{cite web |title=Greek |website=Library of Congress |url=https://www.loc.gov/catdir/cpso/romanization/greek.pdf}}</ref> 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 [[Help:Citation_Style_1#Accept-this-as-written_markup|doubled parentheses]]: {{para|vauthors|...,  Tatarinov IuS, ...}} → {{para|vauthors|...,  ((Tatarinov IuS)), ...}}
    
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.
 
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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu