Changes

Jump to navigation Jump to search
647 bytes added ,  11:57, 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}}}}
 
|-
 
|-
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu