Help:CS1 errors: Difference between revisions

m
no edit summary
m (1 revision imported: Templates and CSS files)
imported>Rudyeeeeeeee
mNo edit summary
 
Line 15: Line 15:


The summary messages have three components:
The summary messages have three components:
#'Script warning:' – this prefix is provided by MediaWiki
#'Script warning:' – this prefix is provided by MediaWiki;
#a colored ({{color|#3a3|green maintenance}} or {{color|#d33|red error}}) message that identifies the type of template that has a message with a link to that template's documentation; wrapper templates with messages will show the name of the wrapped template
#a colored ({{color|#3a3|green maintenance}} or {{color|#d33|red error}}) message that identifies the type of template that has a message with a link to that template's documentation; wrapper templates with messages will show the name of the wrapped template, and;
#'messages may be hidden' – the message suffix with a help link to this page
#'messages may be hidden' – the message suffix with a help link to this page.
Preview messages in the preview message box cannot be hidden.  The preview message suffix 'messages may be hidden' means that the template's message(s) may not be visible.  To learn how to show or hide template messages, see {{slink||Error and maintenance messages}}.
Preview messages in the preview message box cannot be hidden.  The preview message suffix 'messages may be hidden' means that the template's message(s) may not be visible.  To learn how to show or hide template messages, see {{slink||Error and maintenance messages}}.


Line 65: Line 65:
<!-- Items listed here with ~10k or more -->
<!-- Items listed here with ~10k or more -->
* [[#Cite &lt;template> requires %7C&lt;param>=]], ~54k pages
* [[#Cite &lt;template> requires %7C&lt;param>=]], ~54k pages
* [[#Citation without a title of any form]], ~33k pages
* [[#Cite uses generic name]], ~36k pages
* [[#Cite uses generic name]], ~28k pages
* [[#Citation without a title of any form]], ~34k pages
* [[#Bare URL without a title]], ~23k pages
* [[#Bare URL without a title]], ~24k pages
* [[#External link in %7C&lt;param>=]], ~7k pages
 


{{See also|Category:CS1 errors|Category:CS1 maintenance}}
{{See also|Category:CS1 errors|Category:CS1 maintenance}}
Line 299: Line 299:
* {{para|access-date}} must specify a day, not just a month or year.
* {{para|access-date}} must specify a day, not just a month or year.
* misplaced, incorrect, or extraneous punctuation
* misplaced, incorrect, or extraneous punctuation
* misplaced, incorrect, or extraneous spacing
* extraneous text  
* extraneous text  
* hyphens or slashes instead of en dashes in date ranges (en dashes are required)  
* hyphens or slashes instead of en dashes in date ranges (en dashes are required)  
Line 718: Line 719:
<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 [[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=[[Internet Engineering Task Force]] |date=January 2005 |rfc=3986}}</ref>  This error may arise when a copy-pasted URL omits the URI scheme.


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).  [[Single-letter second-level domain]]s are supported for:
Line 818: Line 819:
| {{para|authorfirst}}
| {{para|authorfirst}}
| {{para|author-first}}
| {{para|author-first}}
| October 2020
| rowspan="9" | October 2020
|-
|-
| {{para|authorfirst{{var|n}}}}
| {{para|authorfirst{{var|n}}}}
| {{para|author-first{{var|n}}}}
| {{para|author-first{{var|n}}}}
| October 2020
|-
|-
| {{para|author{{var|n}}first}}
| {{para|author{{var|n}}first}}
| {{para|author{{var|n}}-first}}
| {{para|author{{var|n}}-first}}
| October 2020
|-
|-
| {{para|authorgiven}}
| {{para|authorgiven}}
| {{para|author-given}}
| {{para|author-given}}
| October 2020
|-
|-
| {{para|authorgiven{{var|n}}}}
| {{para|authorgiven{{var|n}}}}
| {{para|author-given{{var|n}}}}
| {{para|author-given{{var|n}}}}
| October 2020
|-
|-
| {{para|author{{var|n}}given}}
| {{para|author{{var|n}}given}}
| {{para|author{{var|n}}-given}}
| {{para|author{{var|n}}-given}}
| October 2020
|-
|-
| {{para|authorlast}}
| {{para|authorlast}}
| {{para|author-last}}
| {{para|author-last}}
| October 2020
|-
|-
| {{para|authorlast{{var|n}}}}
| {{para|authorlast{{var|n}}}}
| {{para|author-last{{var|n}}}}
| {{para|author-last{{var|n}}}}
| October 2020
|-
|-
| {{para|author{{var|n}}last}}
| {{para|author{{var|n}}last}}
| {{para|author{{var|n}}-last}}
| {{para|author{{var|n}}-last}}
| October 2020
|-
|-
| {{para|authormask}}
| {{para|authormask}}
Line 866: Line 859:
| {{para|authorsurname}}
| {{para|authorsurname}}
| {{para|author-surname}}
| {{para|author-surname}}
| October 2020
| rowspan="3" | October 2020
|-
|-
| {{para|authorsurname{{var|n}}}}
| {{para|authorsurname{{var|n}}}}
| {{para|author-surname{{var|n}}}}
| {{para|author-surname{{var|n}}}}
| October 2020
|-
|-
| {{para|author{{var|n}}surname}}
| {{para|author{{var|n}}surname}}
| {{para|author{{var|n}}-surname}}
| {{para|author{{var|n}}-surname}}
| October 2020
|-
|-
| {{para|booktitle}}
| {{para|booktitle}}
Line 893: Line 884:
|-
|-
| {{para|deadurl|yes}}<!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved -->
| {{para|deadurl|yes}}<!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved -->
| {{para|url-status|dead}}
| rowspan="2" | {{para|url-status|dead}}
| September&nbsp;2019
| rowspan="2" | September&nbsp;2019
|-
|-
| {{para|dead-url|yes}}<!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved -->
| {{para|dead-url|yes}}<!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved -->
| {{para|url-status|dead}}
| September 2019
|-
|-
| {{para|displayauthors}}
| {{para|displayauthors}}
Line 906: Line 895:
| {{para|displayeditors}}
| {{para|displayeditors}}
| {{para|display-editors}}
| {{para|display-editors}}
| October 2020
| rowspan="12" | October 2020
|-
|-
| {{para|doi-broken}}
| {{para|doi-broken}}
| {{para|doi-broken-date}}
| {{para|doi-broken-date}}
| October 2020
|-
|-
| {{para|doi-inactive-date}}
| {{para|doi-inactive-date}}
| {{para|doi-broken-date}}
| {{para|doi-broken-date}}
| October 2020
|-
|-
| {{para|editorfirst}}
| {{para|editorfirst}}
| {{para|editor-first}}
| {{para|editor-first}}
| October 2020
|-
|-
| {{para|editorfirst{{var|n}}}}
| {{para|editorfirst{{var|n}}}}
| {{para|editor-first{{var|n}}}}
| {{para|editor-first{{var|n}}}}
| October 2020
|-
|-
| {{para|editor{{var|n}}first}}
| {{para|editor{{var|n}}first}}
| {{para|editor{{var|n}}-first}}
| {{para|editor{{var|n}}-first}}
| October 2020
|-
|-
| {{para|editorgiven}}
| {{para|editorgiven}}
| {{para|editor-given}}
| {{para|editor-given}}
| October 2020
|-
|-
| {{para|editorgiven{{var|n}}}}
| {{para|editorgiven{{var|n}}}}
| {{para|editor-given{{var|n}}}}
| {{para|editor-given{{var|n}}}}
| October 2020
|-
|-
| {{para|editor{{var|n}}given}}
| {{para|editor{{var|n}}given}}
| {{para|editor{{var|n}}-given}}
| {{para|editor{{var|n}}-given}}
| October 2020
|-
|-
| {{para|editorlast}}
| {{para|editorlast}}
| {{para|editor-last}}
| {{para|editor-last}}
| October 2020
|-
|-
| {{para|editorlast{{var|n}}}}
| {{para|editorlast{{var|n}}}}
| {{para|editor-last{{var|n}}}}
| {{para|editor-last{{var|n}}}}
| October 2020
|-
|-
| {{para|editor{{var|n}}last}}
| {{para|editor{{var|n}}last}}
| {{para|editor{{var|n}}-last}}
| {{para|editor{{var|n}}-last}}
| October 2020
|-
|-
| {{para|editorlink}}
| {{para|editorlink}}
Line 970: Line 948:
| {{para|editorsurname}}
| {{para|editorsurname}}
| {{para|editor-surname}}
| {{para|editor-surname}}
| October 2020
| rowspan="7" | October 2020
|-
|-
| {{para|editorsurname{{var|n}}}}
| {{para|editorsurname{{var|n}}}}
| {{para|editor-surname{{var|n}}}}
| {{para|editor-surname{{var|n}}}}
| October 2020
|-
|-
| {{para|editor{{var|n}}surname}}
| {{para|editor{{var|n}}surname}}
| {{para|editor{{var|n}}-surname}}
| {{para|editor{{var|n}}-surname}}
| October 2020
|-
|-
| {{para|editormask}}
| {{para|editormask}}
| {{para|editor-mask}}
| {{para|editor-mask}}
| October 2020
|-
|-
| {{para|editormask{{var|n}}}}
| {{para|editormask{{var|n}}}}
| {{para|editor-mask{{var|n}}}}
| {{para|editor-mask{{var|n}}}}
| October 2020
|-
|-
| {{para|editor{{var|n}}mask}}
| {{para|editor{{var|n}}mask}}
| {{para|editor{{var|n}}-mask}}
| {{para|editor{{var|n}}-mask}}
| October 2020
|-
|-
| {{para|embargo}}
| {{para|embargo}}
| {{para|pmc-embargo-date}}
| {{para|pmc-embargo-date}}
| October 2020
|-
|-
| {{para|episodelink}}
| {{para|episodelink}}
Line 1,002: Line 974:
| {{para|event-format}}
| {{para|event-format}}
| (delete)
| (delete)
| January 2021
| rowspan="3" | January 2021
|-
|-
| {{para|eventurl}}
| {{para|eventurl}}
| (delete)
| (delete)
| January 2021
|-
|-
| {{para|event-url}}
| {{para|event-url}}
| (delete)
| (delete)
| January 2021
|-
|-
| {{para|ignoreisbnerror}}
| {{para|ignoreisbnerror}}
Line 1,022: Line 992:
| {{para|interviewerlink}}
| {{para|interviewerlink}}
| {{para|interviewer-link}}
| {{para|interviewer-link}}
| October 2020
| rowspan="6" | October 2020
|-
|-
| {{para|interviewerlink{{var|n}}}}<!-- for completeness only -->
| {{para|interviewerlink{{var|n}}}}<!-- for completeness only -->
| {{para|interviewer-link{{var|n}}}}
| {{para|interviewer-link{{var|n}}}}
| October 2020
|-
|-
| {{para|interviewer{{var|n}}link}}<!-- for completeness only -->
| {{para|interviewer{{var|n}}link}}<!-- for completeness only -->
| {{para|interviewer{{var|n}}-link}}
| {{para|interviewer{{var|n}}-link}}
| October 2020
|-
|-
| {{para|interviewermask}}
| {{para|interviewermask}}
| {{para|interviewer-mask}}
| {{para|interviewer-mask}}
| October 2020
|-
|-
| {{para|interviewermask{{var|n}}}}<!-- for completeness only -->
| {{para|interviewermask{{var|n}}}}<!-- for completeness only -->
| {{para|interviewer-mask{{var|n}}}}
| {{para|interviewer-mask{{var|n}}}}
| October 2020
|-
|-
| {{para|interviewer{{var|n}}mask}}<!-- for completeness only -->
| {{para|interviewer{{var|n}}mask}}<!-- for completeness only -->
| {{para|interviewer{{var|n}}-mask}}
| {{para|interviewer{{var|n}}-mask}}
| October 2020
|-
|-
| {{para|last-author-amp}}
| {{para|last-author-amp}}
| {{para|name-list-style|amp}}
| {{para|name-list-style|amp}}
| January 2021
| rowspan="2" | January 2021
|-
|-
| {{para|lastauthoramp}}
| {{para|lastauthoramp}}
| {{para|name-list-style|amp}}
| {{para|name-list-style|amp}}
| January 2021
|-
|-
| {{para|laydate}}
| {{para|laydate}}
| {{para|lay-date}}
| {{para|lay-date}}
| April 2021
| rowspan="3" | April 2021
|-
|-
| {{para|laysource}}
| {{para|laysource}}
| {{para|lay-source}}
| {{para|lay-source}}
| April 2021
|-
|-
| {{para|layurl}}
| {{para|layurl}}
| {{para|lay-url}}
| {{para|lay-url}}
| April 2021
|-
|-
| {{para|mailinglist}}
| {{para|mailinglist}}
| {{para|mailing-list}}
| {{para|mailing-list}}
| May 2021
| rowspan="2" | May 2021
|-
|-
| {{para|mapurl}}
| {{para|mapurl}}
| {{para|map-url}}
| {{para|map-url}}
| May 2021
|-
|-
| {{para|name-list-format}}
| {{para|name-list-format}}
Line 1,094: Line 1,055:
| {{para|publicationdate}}
| {{para|publicationdate}}
| {{para|publication-date}}
| {{para|publication-date}}
| May 2021
| rowspan="2" | May 2021
|-
|-
| {{para|publicationplace}}
| {{para|publicationplace}}
| {{para|publication-place}}
| {{para|publication-place}}
| May 2021
|-
|-
| {{para|registration}}<!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved -->
| {{para|registration}}<!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved -->
Line 1,126: Line 1,086:
| {{para|subjectlink}}
| {{para|subjectlink}}
| {{para|subject-link}}
| {{para|subject-link}}
| January 2021
| rowspan="3" | January 2021
|-
|-
| {{para|subjectlink{{var|n}}}}
| {{para|subjectlink{{var|n}}}}
| {{para|subject-link{{var|n}}}}
| {{para|subject-link{{var|n}}}}
| January 2021
|-
|-
| {{para|subject{{var|n}}link}}
| {{para|subject{{var|n}}link}}
| {{para|subject{{var|n}}-link}}
| {{para|subject{{var|n}}-link}}
| January 2021
|-
|-
| {{para|subscription}}<!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved -->
| {{para|subscription}}<!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved -->
Anonymous user