Help:CS1 errors: Difference between revisions
Johnrdorazio (talk | contribs) m 1 revision imported |
→Check |asin-tld= value: Added "pl" for Polish ASINs since March 2021 |
||
Line 5: | Line 5: | ||
This page describes the error messages reported by the {{cs1}} and {{cs2}} citations, what they mean, and how editors might resolve the errors. [[:Category:CS1 errors]] is the general errors category and [[:Category:CS1 maintenance]] is the general maintenance category. |
This page describes the error messages reported by the {{cs1}} and {{cs2}} citations, what they mean, and how editors might resolve the errors. [[:Category:CS1 errors]] is the general errors category and [[:Category:CS1 maintenance]] is the general maintenance category. |
||
Errors |
Errors issued by Wikipedia's <code><ref></code> system, in which citation templates are typically embedded, can be found at [[Help:Cite errors]]. |
||
==Controlling error message display== |
==Controlling error message display== |
||
<section begin= |
<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 [[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> |
||
<!-- For i18n |
|||
To display hidden-by-default error messages: |
To display hidden-by-default error messages: |
||
<syntaxhighlight lang=css>.mw-parser-output span.cs1-hidden-error {display: inline;} /* |
<syntaxhighlight lang="css">.mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden Citation Style 1 error messages */</syntaxhighlight> |
||
--> |
|||
Even with this |
Even with this CSS installed, older pages in Wikipedia's cache may not have been updated to show these error messages even though the page is listed in one of the tracking categories. A [[WP:NULLEDIT|null edit]] will resolve that issue. |
||
To hide error messages: |
To hide normally-displayed error messages: |
||
<syntaxhighlight lang=css>.mw-parser-output span.cs1-visible-error {display: none;} /* hide Citation Style 1 error messages */</syntaxhighlight> |
<syntaxhighlight lang="css">.mw-parser-output span.cs1-visible-error {display: none;} /* hide Citation Style 1 error messages */</syntaxhighlight> |
||
You can personalize the display of these messages (such as changing the color), but you will need to ask someone who knows CSS or at [[WP:VPT|the technical village pump]] if you do not understand how.<section end= |
You can personalize the display of these messages (such as changing the color), but you will need to ask someone who knows CSS or at [[WP:VPT|the technical village pump]] if you do not understand how.<section end="show_all_messages_help_text" /><section end="show_error_messages_help_text" /> |
||
==Most common errors== |
==Most common errors== |
||
<!-- Items listed here with ~10k or more --> |
<!-- Items listed here with ~10k or more --> |
||
* [[#Cite <template> requires %7C<param>=]], ~ |
* [[#Cite <template> requires %7C<param>=]], ~56k pages |
||
* [[#Citation without a title of any form]], ~ |
* [[#Citation without a title of any form]], ~40k pages |
||
* [[#Bare URL without a title]], ~ |
* [[#Bare URL without a title]], ~28k pages |
||
* [[#Check date values in: %7C<param1>=, %7C<param2>=, ...]], ~ |
* [[#Check date values in: %7C<param1>=, %7C<param2>=, ...]], ~13k pages |
||
* [[#External link in %7C<param>=]], ~ |
* [[#External link in %7C<param>=]], ~12k pages |
||
* [[#Missing or empty %7Curl=]], ~9k pages |
* [[#Missing or empty %7Curl=]], ~9k pages |
||
{{SeeAlso|Category:CS1 errors|Category:CS1 maintenance}} |
|||
==<span id="accessdate_missing_url">|access-date= requires |url= </span>== |
|||
==<span id="accessdate_missing_url">|access-date= requires |url= </span>== |
|||
<section begin=accessdate_missing_url_help_text />{{help desk}}<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">|access-date=</code> requires <code style="color:inherit; border:inherit; padding:inherit;">|url=</code></span> |
|||
<section begin="accessdate_missing_url_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_accessdate_missing_url}} |
|||
The {{para|access-date}} (or its alias, {{para|accessdate}}) is the date that the online resource addressed by {{para|url}} was added to the article. If {{para|access-date}} has been included in the citation without {{para|url}} then this message appears. If the citation does not use a web link, then {{para|access-date}} is redundant and should be removed. |
The {{para|access-date}} (or its alias, {{para|accessdate}}) is the date that the online resource addressed by {{para|url}} was added to the article. If {{para|access-date}} has been included in the citation without {{para|url}} then this message appears. If the citation does not use a web link, then {{para|access-date}} is redundant and should be removed. |
||
Line 46: | Line 45: | ||
To resolve this error, provide a value for {{para|url}} or remove {{para|access-date}}. Editors should try to determine why the citation has {{para|access-date}} without {{para|url}}. For example, the citation may never have had a {{para|url}}, or {{para|url}} may have been removed because it links to a site that violates the creator's copyright (see [[WP:COPYLINK]]), or because {{para|url}} was deemed to be dead. If the citation never had {{para|url}} or it was removed for copyright violations, remove {{para|access-date}}. When a dead {{para|url}} has been removed, restore the {{para|url}} and if possible repair it (see [[WP:LINKROT]]). |
To resolve this error, provide a value for {{para|url}} or remove {{para|access-date}}. Editors should try to determine why the citation has {{para|access-date}} without {{para|url}}. For example, the citation may never have had a {{para|url}}, or {{para|url}} may have been removed because it links to a site that violates the creator's copyright (see [[WP:COPYLINK]]), or because {{para|url}} was deemed to be dead. If the citation never had {{para|url}} or it was removed for copyright violations, remove {{para|access-date}}. When a dead {{para|url}} has been removed, restore the {{para|url}} and if possible repair it (see [[WP:LINKROT]]). |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_accessdate_missing_url|pages=yes}}.<ref group="lower-alpha" name="categories" /><section end="accessdate_missing_url_help_text" /> |
||
==<span id="archive_url">|archive-url= is malformed </span>== |
==<span id="archive_url">|archive-url= is malformed </span>== |
||
<section begin=archive_url_help_text />{{help desk}} |
<section begin="archive_url_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_archive_url|$1=<reason>}} |
||
Archive.org allows a variety of |
Archive.org allows a variety of URLs to access snapshots of an archived page. Some of these are: |
||
:<code><nowiki>https://web.archive.org/web/YYYYMMDD</nowiki><wbr /><nowiki>hhmmss/http://www.example.com</nowiki></code> – a single snapshot; this is the preferred form for use with {{para|archive-url}} |
: <code><nowiki>https://web.archive.org/web/YYYYMMDD</nowiki><wbr /><nowiki>hhmmss/http://www.example.com</nowiki></code> – a single snapshot; this is the preferred form for use with {{para|archive-url}} |
||
:<code><nowiki>https://web.archive.org/web/*/http://</nowiki><wbr />www.example.com</code> – a wildcard search results page; useful for locating an appropriate snapshot but not appropriate in a citation |
: <code><nowiki>https://web.archive.org/web/*/http://</nowiki><wbr />www.example.com</code> – a wildcard search results page; useful for locating an appropriate snapshot but not appropriate in a citation |
||
:<code><nowiki>https://web.archive.org/web/</nowiki><wbr />201603/<nowiki>http://www.example.com</nowiki></code> – incomplete timestamp; archive.org returns the most recent snapshot |
: <code><nowiki>https://web.archive.org/web/</nowiki><wbr />201603/<nowiki>http://www.example.com</nowiki></code> – incomplete timestamp; archive.org returns the most recent snapshot |
||
:<code><nowiki>https://web.archive.org/save/http://</nowiki><wbr />www.example.com</code> – saves a new snapshot of the current target; do not use this form |
: <code><nowiki>https://web.archive.org/save/http://</nowiki><wbr />www.example.com</code> – saves a new snapshot of the current target; do not use this form |
||
There are two forms of the basic |
There are two forms of the basic URL: |
||
:<code><nowiki>https://web.archive.org/</nowiki><''timestamp''>/...</code> – the old form |
: <code><nowiki>https://web.archive.org/</nowiki><''timestamp''>/...</code> – the old form |
||
:<code><nowiki>https://web.archive.org</nowiki>/'''web/'''<''timestamp''><''flags''>/...</code> – the new form |
: <code><nowiki>https://web.archive.org</nowiki>/'''web/'''<''timestamp''><''flags''>/...</code> – the new form |
||
The error message identifies the reason for the message. The reasons are: |
The error message identifies the reason for the message. The reasons are: |
||
: |
: {{error-small|save command}} – the archive.org URL is the save command |
||
: |
: {{error-small|path}} – '''web/''' was expected but something else was found |
||
: |
: {{error-small|timestamp}} – the timestamp portion of the URL path is not 14 digits |
||
: |
: {{error-small|flag}} – the flag portion of the URL path (if present; new form URLs only) is not 2 lowercase letters followed by an underscore: 'id_' |
||
: |
: {{error-small|liveweb}} – <code>liveweb.archive.org</code> is a deprecated form of the domain name |
||
When the archive.org |
When the archive.org URL has any of these errors, Module:Citation/CS1 does not link to archive.org and emits an appropriate error message. |
||
To resolve this error, choose the |
To resolve this error, choose the URL of an appropriate snapshot from those held at archive.org. [https://archive.org/web/ Search for the target URL]. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_archive_url}}.<ref group="lower-alpha" name="categories" /><section end="archive_url_help_text" /> |
||
==<span id="archive_missing_date">|archive-url= requires |archive-date= </span>== |
==<span id="archive_missing_date">|archive-url= requires |archive-date= </span>== |
||
<section begin=archive_missing_date_help_text />{{help desk}} |
<section begin="archive_missing_date_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_archive_missing_date}} |
||
{{para|archive-date}} (or its alias, {{para|archivedate}}), identifies the date that the web resource was archived. |
{{para|archive-date}} (or its alias, {{para|archivedate}}), identifies the date that the web resource was archived. |
||
To resolve this error, provide a value for {{para|archive-date}}. For web resources archived at archive.org,<ref name="archive.org" /> the archival date can be found in the {{para|archive-url}}; for resources archived at webcitation.org,<ref name="webcitation.org" /> the cache date is included in the archive header. |
To resolve this error, provide a value for {{para|archive-date}} (see acceptable date formats in [[MOS:DATEFORMAT]]). For web resources archived at archive.org,<ref name="archive.org" /> the archival date can be found in the {{para|archive-url}}; for resources archived at webcitation.org,<ref name="webcitation.org" /> the cache date is included in the archive header. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_archive_missing_date}}.<ref group="lower-alpha" name="categories" /><section end="archive_missing_date_help_text" /> |
||
==<span id="archive_missing_url">|archive-url= requires |url= </span>== |
==<span id="archive_missing_url">|archive-url= requires |url= </span>== |
||
<section begin=archive_missing_url_help_text />{{help desk}} |
<section begin="archive_missing_url_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_archive_missing_url}} |
||
A properly formatted citation that includes {{para|archive-url}} and {{para|archive-date}} requires {{para|url}}. When the citation includes {{para|url-status|live}}, the ordering of elements in the rendered citation is changed to put the original |
A properly formatted citation that includes {{para|archive-url}} and {{para|archive-date}} requires {{para|url}}. When the citation includes {{para|url-status|live}}, the ordering of elements in the rendered citation is changed to put the original URL first. |
||
To resolve this error, provide a value for {{para|url}}. For web resources archived at archive.org,<ref name="archive.org" /> the original |
To resolve this error, provide a value for {{para|url}}. For web resources archived at archive.org,<ref name="archive.org" /> the original URL can be found in the {{para|archive-url}} value; for resources archived at webcitation.org,<ref name="webcitation.org" /> the original URL is included in the archive header. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_archive_missing_url}}.<ref group="lower-alpha" name="categories" /><section end="archive_missing_url_help_text" /> |
||
==<span id="arxiv_missing">|arxiv= required</span>== |
==<span id="arxiv_missing">|arxiv= required</span>== |
||
<section begin=arxiv_missing_help_text />{{help desk}} |
<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}}. |
{{tlx|cite arXiv}} requires one, but not both, of the identifier parameters {{para|arxiv}} or {{para|eprint}} to specify an [[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. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_arxiv_missing}}.<ref group="lower-alpha" name="categories" /><section end="arxiv_missing_help_text" /> |
||
==<span id="asintld_missing_asin">|asin-tld= requires |asin=</span>== |
|||
<section begin="asintld_missing_asin_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_asintld_missing_asin|$1=asin-tld}} |
|||
When {{para|asin-tld}} is used in a CS1|2 template, {{para|asin}} or {{para|ASIN}} (with value) must also be present. |
|||
To resolve this error, either add the missing ASIN or remove the 'broken' parameter. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_asintld_missing_asin}}.<ref group="lower-alpha" name="categories" /><section end="asintld_missing_asin_help_text" /> |
|||
==<span id="biorxiv_missing">|biorxiv= required</span>== |
|||
<section begin="biorxiv_missing_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_biorxiv_missing}} |
|||
{{tlx|cite bioRxiv}} requires the identifier parameter {{para|biorxiv}}. |
|||
To resolve this error, ensure that the template has {{para|biorxiv}} with a properly constructed value. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_biorxiv_missing}}.<ref group="lower-alpha" name="categories" /><section end="biorxiv_missing_help_text" /> |
|||
==<span id="chapter_ignored">|chapter= ignored</span>== |
==<span id="chapter_ignored">|chapter= ignored</span>== |
||
<section begin=chapter_ignored_help_text />{{help desk}} |
<section begin="chapter_ignored_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_chapter_ignored|$1=chapter}} |
||
{{cs1}} templates {{tlx|cite web}}, {{tlx|cite news}}, {{tlx|cite journal}}, {{tlx|cite press release}}, {{tlx|cite podcast}}, {{tlx|cite newsgroup}}, as well as template {{tlx|citation}} when it uses {{para|work}} or any of its aliases, do not support {{para|chapter}} or the aliases {{para|contribution}}, {{para|entry}}, {{para|article}}, or {{para|section}}. |
{{cs1}} templates {{tlx|cite web}}, {{tlx|cite news}}, {{tlx|cite journal}}, {{tlx|cite press release}}, {{tlx|cite podcast}}, {{tlx|cite newsgroup}}, as well as template {{tlx|citation}} when it uses {{para|work}} or any of its aliases, do not support {{para|chapter}} or the aliases {{para|contribution}}, {{para|entry}}, {{para|article}}, or {{para|section}}. |
||
Line 105: | Line 122: | ||
To resolve this error: |
To resolve this error: |
||
*use a more appropriate citation template, or |
* use a more appropriate citation template, or |
||
*place the content of the {{para|chapter}} parameter in {{para|title}}, or |
* place the content of the {{para|chapter}} parameter in {{para|title}}, or |
||
*for {{tl|cite news}}, {{para|department}} can be used to give the name of the newspaper's section, such as "Obituaries", or |
* for {{tl|cite news}}, {{para|department}} can be used to give the name of the newspaper's section, such as "Obituaries", or |
||
*for {{tl|citation}}, remove {{para|work}} or its aliases such as {{para|website}} and place their content in {{para|title}} if appropriate |
* for {{tl|citation}}, remove {{para|work}} or its aliases such as {{para|website}} and place their content in {{para|title}} if appropriate |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_chapter_ignored}}.<ref group="lower-alpha" name="categories" /><section end="chapter_ignored_help_text" /> |
||
==<span id="invisible_char"><char> character in |<param>= at position ''n''</span>== |
|||
<section begin="invisible_char_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_invisible_char|$1=<char> character|$2=<code class="cs1-code">{{pipe}}<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: |
|||
* [[non-breaking space]], U+00A0 |
|||
* [[soft hyphen]], U+00AD |
|||
* [[replacement character]], U+FFFD |
|||
* [[hair space]], U+200A |
|||
* [[zero width space]], U+200B |
|||
* [[zero width joiner]], U+200D |
|||
* [[horizontal tab]], U+0009 (HT) |
|||
* [[line feed]], U+0010 (LF) |
|||
* [[carriage return]], U+0013 (CR) |
|||
* [[delete character]], U+007F (DEL) |
|||
* [[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) |
|||
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. |
|||
Because these characters are mostly invisible, the error message identifies the character'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. If you move through the citation with the arrow keys then the cursor may stand still once at an invisible character, which can be removed with {{keypress|Delete}} or {{keypress|Backspace}}. If you copy-paste a string to the "Characters" field at https://r12a.github.io/app-conversion/ and click "View in UniView" then the position and name of all characters is shown. |
|||
{{#invoke:Cs1 documentation support|help_text_error_messages|err_invisible_char|$1=<name> stripmarker|$2=<code class="cs1-code">{{pipe}}<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. |
|||
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. |
|||
Strip marker errors can also be caused by unsupported additional text or templates in parameter values{{mdash}}for example, {{tl|ISBN}} in {{para|title}}. Resolve the problem by moving the extraneous text outside of the citation template, or by removing the extraneous text or template markup, as appropriate. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_invisible_char}}.<ref group="lower-alpha" name="categories" /><section end="invisible_char_help_text" /> |
|||
==<span id="bad_arxiv">Check |arxiv= value</span>== |
==<span id="bad_arxiv">Check |arxiv= value</span>== |
||
<section begin=bad_arxiv_help_text />{{help desk}} |
<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]] | |
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. |
||
To resolve this error, ensure that the {{para|arxiv}} value is correct. |
To resolve this error, ensure that the {{para|arxiv}} value is correct. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_arxiv}}.<ref group="lower-alpha" name="categories" /><section end="bad_arxiv_help_text" /> |
||
==<span id="bad_asin">Check |asin= value</span>== |
==<span id="bad_asin">Check |asin= value</span>== |
||
<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]]. |
|||
<section begin=bad_asin_help_text />{{help desk}}<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|asin=</code> value</span> |
|||
When {{cs1}} and {{cs2}} templates contain {{para|asin}}, a test is done to see if the [[ASIN]] identifier is 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]]. |
|||
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 131: | Line 179: | ||
If the {{para|asin}} value is correct and all-numeric, use {{para|isbn}} instead and delete any {{para|asin-tld}} parameters. Articles with CS1 citations that use {{para|asin}} with all numeric values are categorized in {{cl|CS1 maint: ASIN uses ISBN}}. |
If the {{para|asin}} value is correct and all-numeric, use {{para|isbn}} instead and delete any {{para|asin-tld}} parameters. Articles with CS1 citations that use {{para|asin}} with all numeric values are categorized in {{cl|CS1 maint: ASIN uses ISBN}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_asin}}.<ref group="lower-alpha" name="categories" /><section end="bad_asin_help_text" /> |
||
==<span id=" |
==<span id="bad_asin_tld">Check |asin-tld= value</span>== |
||
<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]] of a given [[ASIN]] identifier link. The list of currently supported values is: |
|||
<section begin=bad_bibcode_help_text />{{help desk}}<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|bibcode=</code> <message></span> |
|||
<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> |
|||
It is not necessary to provide {{para|asin-tld}} to specify the default (United States). If you want to specify this condition explicitly, a pseudo-value of <code>us</code> can be given to denote this. |
|||
All these values are automatically resolved to the correct TLD following one of the schemes <code>''nn''</code>, <code>com.''nn''</code>, <code>co.''nn''</code>, <code>z.''nn''</code>, and <code>com</code>. |
|||
If an unsupported value is encountered, the template will issue this error message. |
|||
To resolve this error, ensure that the {{para|asin-tld}} value is correct. |
|||
If the value is correct, please report this at [[Help talk:Citation Style 1]], so that it can be added to the list of supported values. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_asin_tld}}.<ref group="lower-alpha" name="categories" /><section end="bad_asin-tld_help_text" /> |
|||
==<span id="bad_bibcode">Check |bibcode= <message></span>== |
|||
<section begin="bad_bibcode_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_bibcode|$1=<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 [[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 (<message> = '<span class="error" style="font-size:100%">length</span>') |
: length must be 19 characters (<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 <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 <message> portion of the error message): |
||
::1–4 must be digits and must represent a year in the range of 1000 – next year (<message> = '<span class="error" style="font-size:100%">year</span>') |
:: 1–4 must be digits and must represent a year in the range of 1000 – next year (<message> = '<span class="error" style="font-size:100%">year</span>') |
||
::5 must be a letter |
:: 5 must be a letter |
||
::6–8 must be letter, ampersand, or dot (ampersand cannot directly precede a dot; &. (<message> = '<span class="error" style="font-size:100%">journal</span>')) |
:: 6–8 must be a letter, ampersand, or dot (ampersand cannot directly precede a dot; &. (<message> = '<span class="error" style="font-size:100%">journal</span>')) |
||
::9 must be letter or dot |
:: 9 must be a letter or dot |
||
::10–18 must be letter, digit, or dot |
:: 10–18 must be a letter, digit, or dot |
||
::19 must be a letter or dot |
:: 19 must be a letter or dot |
||
To resolve this error, ensure that the {{para|bibcode}} value is correct. |
To resolve this error, ensure that the {{para|bibcode}} value is correct. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_bibcode}}.<ref group="lower-alpha" name="categories" /><section end="bad_bibcode_help_text" /> |
||
==<span id="bad_biorxiv">Check |biorxiv= value</span>== |
==<span id="bad_biorxiv">Check |biorxiv= value</span>== |
||
<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: |
|||
<section begin=bad_biorxiv_help_text />{{help desk}}<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|biorxiv=</code> value</span> |
|||
: six numeric characters without punctuation or spaces: |
|||
::{{para|biorxiv|10.1101/######}} |
|||
::: <code>######</code> – 6-digit bioRxiv identifier |
|||
: ymd format date prefix followed by six numeric characters without punctuation or spaces followed by optional version: |
|||
:: {{para|biorxiv|10.1101/yyyy.mm.dd.######v#}} where: |
|||
::: <code>yyyy.mm.dd.</code> – represents a date no earlier than 11 December 2019 (<code>2019.12.11.</code>) and no later than tomorrow's date; date must be a valid date |
|||
::: <code>######</code> – 6-digit bioRxiv identifier |
|||
::: <code>v#</code> – optional version indicator |
|||
A common error is to include the bioRxiv ''URL'' (<code>{{red|<nowiki>https://dx.doi.org/</nowiki>}}10.1101/######}}</code>). |
|||
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: |
|||
:six numeric characters without punctuation or spaces. |
|||
:ymd format date prefix followed by six numeric characters without punctuation or spaces followed by optional version: |
|||
::{{para|biorxiv|yyyy.mm.dd.######v#}} where: |
|||
:::<code>yyyy.mm.dd.</code> – represents a date no earlier than 11 December 2019 (<code>2019.12.11.</code>) and no later than tomorrow's date; date must be a valid date |
|||
:::<code>######</code> – 6-digit BioRxiv identifier |
|||
:::<code>v#</code> – optional version indicator |
|||
A common error is to include the bioRxiv ''url'' (<code><nowiki>https://dx.doi.org/10.1101/</nowiki>{{red|<{{var|BIORXIV>}}}}</code>), or the biorxiv ''doi'' (<code>10.1101/{{red|<{{var|BIORXIV>}}}}</code>) |
|||
To resolve this error, ensure that the {{para|biorxiv}} value is correct. |
To resolve this error, ensure that the {{para|biorxiv}} value is correct. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_biorxiv}}.<ref group="lower-alpha" name="categories" /><section end="bad_biorxiv_help_text" /> |
||
==<span id="bad_citeseerx">Check |citeseerx= value</span>== |
==<span id="bad_citeseerx">Check |citeseerx= value</span>== |
||
<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}}<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|citeseerx=</code> value</span> |
|||
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 [[CiteSeerX]] identifier has the proper format. |
||
Line 177: | Line 243: | ||
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}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_citeseerx}}.<ref group="lower-alpha" name="categories" /><section end="bad_citeseerx_help_text" /> |
||
==<span id="bad_date">Check date values in: |<param1>=, |<param2>=, ...</span>== |
==<span id="bad_date">Check date values in: |<param1>=, |<param2>=, ...</span>== |
||
<section begin=bad_date_help_text />{{help desk}}< |
<section begin="bad_date_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_date|$1=<code class="cs1-code">{{pipe}}<param1>=</code>, <code class="cs1-code">{{pipe}}<param2>=</code>, ...}} |
||
When {{cs1}} and {{cs2}} templates contain date-holding parameters, an automated test is done to see if the dates are real dates that comply with a [[Help:Citation_Style_1#Date_compliance_with_Wikipedia's_Manual_of_Style|subset of the date rules]] in Wikipedia's Manual of Style, specifically checking for violations of [[Wikipedia:Manual of Style/Dates and numbers#Dates and years|MOS:DATEFORMAT]]. |
When {{cs1}} and {{cs2}} templates contain date-holding parameters, an automated test is done to see if the dates are real dates that comply with a [[Help:Citation_Style_1#Date_compliance_with_Wikipedia's_Manual_of_Style|subset of the date rules]] in Wikipedia's Manual of Style, specifically checking for violations of [[Wikipedia:Manual of Style/Dates and numbers#Dates and years|MOS:DATEFORMAT]]. |
||
To resolve this error, ensure that the date is an actual date and that the date format follows the [[MOS:DATEFORMAT|Wikipedia Manual of Style's guidance on dates]] in the named parameter. See [[Help:CS1 errors#ExamplesOfUnacceptableDates|examples of unacceptable dates and how to fix them]], below. Or, some conceptual issues to look for: |
To resolve this error, ensure that the date is an actual date and that the date format follows the [[MOS:DATEFORMAT|Wikipedia Manual of Style's guidance on dates]] in the named parameter. See [[Help:CS1 errors#ExamplesOfUnacceptableDates|examples of unacceptable dates and how to fix them]], below. Or, some conceptual issues to look for: |
||
*impossible dates, such as 29 February 2011 (2011 was not a leap year) |
* impossible dates, such as 29 February 2011 (2011 was not a leap year) |
||
* {{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 |
||
*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) |
||
*misspelling or improper capitalization (see [[MOS:ALLCAPS]] for more detail that is not in [[MOS:DATEFORMAT|Wikipedia Manual of Style's guidance on dates]]) |
* misspelling or improper capitalization (see [[MOS:ALLCAPS]] for more detail that is not in [[MOS:DATEFORMAT|Wikipedia Manual of Style's guidance on dates]]) |
||
*other unacceptable date formats listed in [[MOS:BADDATEFORMAT]] |
* other unacceptable date formats listed in [[MOS:BADDATEFORMAT]] |
||
*more than one date in a date-holding parameter |
* more than one date in a date-holding parameter |
||
*years before 100 AD, including BCE/BC dates. Try using parameter {{para|orig- |
* years before 100 AD, including BCE/BC dates. Try using parameter {{para|orig-date}} instead. |
||
See [[Help:Citation_Style_1#CS1_compliance_with_Wikipedia.27s_Manual_of_Style|Help: Citation Style 1]] for information about limitations in the CS1 citation templates' handling of date formats. [[WP:DATERANGE|The MOS section on date ranges]] describes how to separate dates in a date range. Do not use <code>&nbsp;</code>, <code>&ndash;</code>, or {{tlx|spaced ndash}} as these corrupt the metadata. To add an en dash, use the [[Help:CharInsert#Insert|CharInsert]] edit tool or see [[Wikipedia:How to make dashes]]. You may also use this one: –. A bot is often able to correct the separator, provided the overall format is unambiguous. |
See [[Help:Citation_Style_1#CS1_compliance_with_Wikipedia.27s_Manual_of_Style|Help: Citation Style 1]] for information about limitations in the CS1 citation templates' handling of date formats. [[WP:DATERANGE|The MOS section on date ranges]] describes how to separate dates in a date range. Do not use <code>&nbsp;</code>, <code>&ndash;</code>, or {{tlx|spaced ndash}} as these corrupt the metadata. To add an en dash, use the [[Help:CharInsert#Insert|CharInsert]] edit tool or see [[Wikipedia:How to make dashes]]. You may also use this one: –. A bot is often able to correct the separator, provided the overall format is unambiguous. |
||
Line 203: | Line 269: | ||
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. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_date}}.<ref group="lower-alpha" name="categories" /><section end="bad_date_help_text" /> |
||
{{anchor| |
{{anchor|Date Fix Table|Dates|DateFixTable}} |
||
{{anchor|ExamplesOfUnacceptableDates}} |
{{anchor|ExamplesOfUnacceptableDates}} |
||
{| class="wikitable" |
{| class="wikitable" |
||
Line 227: | Line 293: | ||
| Future date (typo) || {{para|plain=y|date|2{{red|10}}2}} || {{para|plain=y|date|2{{green|01}}2}} |
| Future date (typo) || {{para|plain=y|date|2{{red|10}}2}} || {{para|plain=y|date|2{{green|01}}2}} |
||
|- |
|- |
||
| Access date in future (see note above) || {{para|plain=y| |
| Access date in future (see note above) || {{para|plain=y|access-date|{{red|{{day+1|{{day+1}}}}, {{CURRENTYEAR}}}}}} || {{para|plain=y|access-date|{{Currentmonthday}}, {{CURRENTYEAR}}}} |
||
|- |
|- |
||
| Access date impossibly far in the past (typo) || {{para|plain=y|access-date|1 January 20{{red|01}}}} || {{para|plain=y|access-date|1 January 20{{green|10}}}} |
| Access date impossibly far in the past (typo) || {{para|plain=y|access-date|1 January 20{{red|01}}}} || {{para|plain=y|access-date|1 January 20{{green|10}}}} |
||
Line 234: | Line 300: | ||
|- |
|- |
||
| 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|{{green|March}} 2002}}}} |
* {{para|plain=y|date|{{green|March}} 2002}}}} |
||
|- |
|- |
||
| Bad abbreviation || {{para|plain=y|date|{{red|Febr.}} 28, 1900}} || {{plainlist| |
| Bad abbreviation || {{para|plain=y|date|{{red|Febr.}} 28, 1900}} || {{plainlist| |
||
*{{para|plain=y|date|{{green|Feb}} 28, 1900}} |
* {{para|plain=y|date|{{green|Feb}} 28, 1900}} |
||
*{{para|plain=y|date|{{green|February}} 28, 1900}}}} |
* {{para|plain=y|date|{{green|February}} 28, 1900}}}} |
||
|- |
|- |
||
| Nonexistent date || {{para|plain=y|date|{{red|February 29, 1900}}}} || |
| Nonexistent date || {{para|plain=y|date|{{red|February 29, 1900}}}} || |
||
Line 251: | Line 317: | ||
| Missing comma in format which requires it || {{para|plain=y|date|{{red|February 28 1900}}}} || {{para|plain=y|date|February 28{{green|,}} 1900}} or {{para|plain=y|date|28 February 1900}} |
| Missing comma in format which requires it || {{para|plain=y|date|{{red|February 28 1900}}}} || {{para|plain=y|date|February 28{{green|,}} 1900}} or {{para|plain=y|date|28 February 1900}} |
||
|- |
|- |
||
| Non-date text || {{para|plain=y|date|2008{{red|, originally 2000}}}} || {{para|plain=y|date|2008}} {{green|{{para|plain=y|orig- |
| Non-date text || {{para|plain=y|date|2008{{red|, originally 2000}}}} || {{para|plain=y|date|2008}} {{green|{{para|plain=y|orig-date|2000}}}} |
||
|- |
|- |
||
| Zero-padding || {{para|plain=y|date|January {{red|04}}, 1987}} || {{para|plain=y|date|January {{green|4}}, 1987}} |
| Zero-padding || {{para|plain=y|date|January {{red|04}}, 1987}} || {{para|plain=y|date|January {{green|4}}, 1987}} |
||
|- |
|- |
||
| Date with slashes || {{para|plain=y|date|12{{red|/}}6{{red|/}}87}} || {{plainlist| |
| Date with slashes || {{para|plain=y|date|12{{red|/}}6{{red|/}}87}} || {{plainlist| |
||
*{{para|plain=y|date|{{green|December 6, 19}}87}} |
* {{para|plain=y|date|{{green|December 6, 19}}87}} |
||
*{{para|plain=y|date|{{green|12 June 19}}87}}}} |
* {{para|plain=y|date|{{green|12 June 19}}87}}}} |
||
|- |
|- |
||
| Two-digit year || {{para|plain=y|date|{{red|87}}-12-06}} || {{para|plain=y|date|{{green|19}}87-12-06}} |
| Two-digit year || {{para|plain=y|date|{{red|87}}-12-06}} || {{para|plain=y|date|{{green|19}}87-12-06}} |
||
Line 267: | Line 333: | ||
| "mm-dd-yyyy" or "dd-mm-yyyy" date format || {{para|plain=y|date|{{red|07-12-}}2009}} || {{para|plain=y|date|{{green|7 December}} 2009}} or {{para|plain=y|date|{{green|12 July}} 2009}}<br />or<br />{{para|plain=y|date|{{green|July 12,}} 2009}} or {{para|plain=y|date|{{green|December 7,}} 2009}} |
| "mm-dd-yyyy" or "dd-mm-yyyy" date format || {{para|plain=y|date|{{red|07-12-}}2009}} || {{para|plain=y|date|{{green|7 December}} 2009}} or {{para|plain=y|date|{{green|12 July}} 2009}}<br />or<br />{{para|plain=y|date|{{green|July 12,}} 2009}} or {{para|plain=y|date|{{green|December 7,}} 2009}} |
||
|- |
|- |
||
|Approximate or uncertain dates || {{para|plain=y|date|{{red|circa}} 1970}} or {{para|plain=y|date|{{red|<nowiki>{{circa}}</nowiki>}} 1970}} ||{{para|plain=y|date|{{green|c.}} 1970}} |
| Approximate or uncertain dates || {{para|plain=y|date|{{red|circa}} 1970}} or {{para|plain=y|date|{{red|<nowiki>{{circa}}</nowiki>}} 1970}} ||{{para|plain=y|date|{{green|c.}} 1970}} |
||
|- |
|- |
||
|} |
|} |
||
==<span id="bad_doi">Check |doi= value</span>== |
==<span id="bad_doi">Check |doi= value</span>== |
||
<section begin=bad_doi_help_text />{{help desk}} |
<section begin="bad_doi_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_doi}} |
||
When {{cs1}} and {{cs2}} templates contain {{para|doi}}, a test is done to see if the prefix portion of the [[Digital object identifier|DOI]] value is correctly formatted and has what appears to be a valid registrant code. A proper |
When {{cs1}} and {{cs2}} templates contain {{para|doi}}, a test is done to see if the prefix portion of the [[Digital object identifier|DOI]] value is correctly formatted and has what appears to be a valid registrant code. A proper DOI prefix begins with the <code>10.</code> directory indicator. The remaining portion of the prefix is a string of digits and the dot character which form the registrant code. When the directory indicator is <code>10.</code>, the CS1|2 templates test for a valid registrant code. Valid registrant codes: |
||
*must be composed of digits |
* must be composed of digits |
||
*must be in the range: |
* must be in the range: |
||
** 1000–9999 |
** 1000–9999 |
||
** 10000–49999 |
** 10000–49999 |
||
*may have one or more subcodes that begin with a dot followed by digits (1000.10) |
* may have one or more subcodes that begin with a dot followed by digits (1000.10) |
||
*must not be 5555 (invalid/temporary/test) |
* must not be 5555 (invalid/temporary/test) |
||
Additionally, the {{para|doi}} value is checked to make sure that it does not contain spaces, en dashes, does not end with punctuation. Further validation of the DOI is not performed. |
Additionally, the {{para|doi}} value is checked to make sure that it does not contain spaces, en dashes, does not end with punctuation. Further validation of the DOI is not performed. |
||
Do not include the <code><nowiki>https://doi.org/</nowiki></code> scheme and domain name from a |
Do not include the <code><nowiki>https://doi.org/</nowiki></code> scheme and domain name from a URL. A proper {{para|doi}} value looks like {{para|doi|10.1103/PhysRevLett.80.904}}. |
||
To resolve this error, ensure that the {{para|doi}} value is correct. |
To resolve this error, ensure that the {{para|doi}} value is correct. |
||
In very rare cases, publishers have released works with a DOI deviating from the standard form. If you are certain that such a non-conforming DOI truly corresponds to the published work, then you can add [[Help:Citation_Style_1#Accept-this-as-written_markup|accept-this-as-written markup]] around the identifier to suppress the error message. (Do not use this markup for DOIs, which are ''inactive'' rather than ''non-conforming''. Instead, use {{para|doi-broken-date}} for them.) |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: DOI | Category:CS1 errors: DOI | [[:Category:CS1 errors: DOI]]}}.<ref group="lower-alpha" name="categories" /><section end=bad_doi_help_text /> |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_doi}}.<ref group="lower-alpha" name="categories" /><section end="bad_doi_help_text" /> |
|||
==<span id="bad_hdl">Check |hdl= value</span>== |
==<span id="bad_hdl">Check |hdl= value</span>== |
||
<section begin=bad_hdl_help_text />{{help desk}} |
<section begin="bad_hdl_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_hdl}} |
||
When {{cs1}} and {{cs2}} templates contain {{para|hdl}}, a test is done to see if the [[Handle System|hdl]] value looks like a properly defined value. The {{para|hdl}} value is checked to make sure that it does not contain spaces or en dashes and does not end with punctuation. Further validation of the hdl is not performed. |
When {{cs1}} and {{cs2}} templates contain {{para|hdl}}, a test is done to see if the [[Handle System|hdl]] value looks like a properly defined value. The {{para|hdl}} value is checked to make sure that it does not contain spaces or en dashes and does not end with punctuation. Further validation of the hdl is not performed. |
||
Line 296: | Line 364: | ||
To resolve this error, ensure that the {{para|hdl}} value is correct. |
To resolve this error, ensure that the {{para|hdl}} value is correct. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_hdl}}.<ref group="lower-alpha" name="categories" /><section end="bad_hdl_help_text" /> |
||
==<span id="bad_isbn">Check |isbn= value</span>== |
==<span id="bad_isbn">Check |isbn= value</span>== |
||
<section begin=bad_isbn_help_text />{{help desk}} |
<section begin="bad_isbn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_isbn|$1=<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]]. |
{{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.) |
||
The error message <type> indicator can be: |
The error message <type> indicator can be: |
||
:{{error-small|length}} – ISBN is not 10 or 13 digits |
: {{error-small|length}} – ISBN is not 10 or 13 digits |
||
:{{error-small|checksum}} – ISBN has one or more incorrect digits; look for typos and transposition |
: {{error-small|checksum}} – ISBN has one or more incorrect digits; look for typos and transposition |
||
:{{error-small|invalid character}} – ISBN has one or more 'digits' that is not in the allowed set appropriate to ISBN length |
: {{error-small|invalid character}} – ISBN has one or more 'digits' that is not in the allowed set appropriate to ISBN length |
||
:{{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 [[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 |
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'. |
||
*'''Do not''' try to resolve the error by simply recalculating the check digit. The check digit is there to check whether the main part of the number is correct. If the ISBN is failing to validate, it is likely that there is a typo in the main part of the number. In this case, recalculating the check digit results in an apparently valid ISBN that leads to the wrong source (or to nowhere). |
* '''Do not''' try to resolve the error by simply recalculating the check digit. The check digit is there to check whether the main part of the number is correct. If the ISBN is failing to validate, it is likely that there is a typo in the main part of the number. In this case, recalculating the check digit results in an apparently valid ISBN that leads to the wrong source (or to nowhere). |
||
*If you only have a 10-digit ISBN, '''do''' use the number as-is, do not try to convert it to the 13-digit form. |
* If you only have a 10-digit ISBN, '''do''' use the number as-is, do not try to convert it to the 13-digit form. |
||
*If the ISBN as printed in your source is refusing to validate, '''do''' check both the front matter and the book cover for ISBNs. It is not uncommon for the ISBN to be misprinted in the front matter but correct on the cover. |
* If the ISBN as printed in your source is refusing to validate, '''do''' check both the front matter and the book cover for ISBNs. It is not uncommon for the ISBN to be misprinted in the front matter but correct on the cover. |
||
*'''Do''' preview your edit and check that the new ISBN does now link to the correct source. |
* '''Do''' preview your edit and check that the new ISBN does now link to the correct source. |
||
In very rare cases, publishers have released books with malformed ISBNs. If you are certain that a non-conforming ISBN truly corresponds to the published work, then you can add |
In very rare cases, publishers have released books with malformed ISBNs. If you are certain that a non-conforming ISBN truly corresponds to the published work, then you can add [[Help:Citation_Style_1#Accept-this-as-written_markup|accept-this-as-written markup]] around the identifier to suppress the error message. In many cases, books may have been reissued with a corrected ISBN. Use a corrected ISBN when possible. |
||
Sometimes there are numbers assigned to {{para|isbn}} that appear to be legitimate – length is right, check digit is correct – but that aren't true ISBN numbers. This [http://isbn.org/ISBN_converter tool] may be helpful. |
Sometimes there are numbers assigned to {{para|isbn}} that appear to be legitimate – length is right, check digit is correct – but that aren't true ISBN numbers. This [http://isbn.org/ISBN_converter tool] may be helpful. |
||
Line 323: | Line 391: | ||
See also [[Wikipedia:ISBN]]. |
See also [[Wikipedia:ISBN]]. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_isbn}}.<ref group="lower-alpha" name="categories" /><!-- See [[bugzilla:47049]] about {{FULLPAGENAME}}, category pagenames containing ISBN, and #ifeq: --><section end="bad_isbn_help_text" /> |
||
==<span id="bad_ismn">Check |ismn= value</span>== |
==<span id="bad_ismn">Check |ismn= value</span>== |
||
<section begin=bad_ismn_help_text />{{help desk}} |
<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. |
{{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.) |
||
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. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_ismn}}.<ref group="lower-alpha" name="categories" /><section end="bad_ismn_help_text" /> |
||
==<span id="bad_issn">Check |issn= value</span>== |
==<span id="bad_issn">Check |issn= value</span>== |
||
<section begin=bad_issn_help_text />{{help desk}} |
<section begin="bad_issn_help_text" />{{help desk}} |
||
<div class="plainlist"> |
|||
*<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|issn=</code> value</span> |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_issn|$1=_}} |
|||
*<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|eissn=</code> value</span></div> |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_issn|$1=e}} |
|||
</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.) |
|||
The ISSN and eISSN are always rendered as two four-digit numbers separated with a hyphen. |
|||
To resolve this error, ensure that the {{para|issn}} and {{para|eissn}} values are correct, that only one value per parameter is used, and that no other text is included (allowable characters are 0–9, X, and -). If the check-digit is a lowercase 'x', change it to an uppercase 'X'. |
|||
{{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]]. The ISSN and eISSN are always rendered as two four-digit numbers separated with a hyphen. |
|||
In very rare cases, publishers have released works with a malformed identifier. If you are certain that a non-conforming identifier truly corresponds to the published work, then you can add [[Help:Citation_Style_1#Accept-this-as-written_markup|accept-this-as-written markup]] around the identifier to suppress the error message. In some cases, works may have been reissued with a corrected identifier. Use the corrected one when possible. |
|||
To resolve this error, ensure that the {{para|issn}} and {{para|eissn}} values are correct, that only one value per parameter is used, and that no other text is included (allowable characters are 0-9, X, and -). If the check-digit is a lowercase 'x', change it to an uppercase 'X'. |
|||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_issn}}.<ref group="lower-alpha" name="categories" /><!-- See [[bugzilla:47049]] about {{FULLPAGENAME}}, category pagenames containing ISSN, and #ifeq: --><section end="bad_issn_help_text" /> |
||
==<span id="bad_jfm">Check |jfm= value</span>== |
==<span id="bad_jfm">Check |jfm= value</span>== |
||
<section begin=bad_jfm_help_text />{{help desk}} |
<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| |
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. |
||
To resolve this error, ensure that the {{para|jfm}} value is correct. |
To resolve this error, ensure that the {{para|jfm}} value is correct. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_jfm}}.<ref group="lower-alpha" name="categories" /><section end="bad_jfm_help_text" /> |
||
==<span id="bad_jstor">Check |jstor= value</span>== |
|||
<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. |
|||
To resolve this error, ensure that the {{para|jstor}} value is correct. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_jstor}}.<ref group="lower-alpha" name="categories" /><section end="bad_jstor_help_text" /> |
|||
==<span id="bad_lccn">Check |lccn= value</span>== |
==<span id="bad_lccn">Check |lccn= value</span>== |
||
<section begin=bad_lccn_help_text />{{help desk}} |
<section begin="bad_lccn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_lccn}} |
||
The {{para|lccn}} parameter is 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 [[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=[[Library of Congress]] |date=November 2003}}</ref> |
||
{|class="wikitable" |
{|class="wikitable" |
||
|+LCCN format description |
|+ LCCN format description |
||
!Length!!Description |
! Length !! Description |
||
|- |
|- |
||
|8 || all characters are digits |
| 8 || all characters are digits |
||
|- |
|- |
||
|9 || first character is a lower case letter |
| 9 || first character is a lower case letter |
||
|- |
|- |
||
|10|| first two characters are either both lower case letters or both digits |
| 10|| first two characters are either both lower case letters or both digits |
||
|- |
|- |
||
|11|| first character is a lower case letter, second and third characters are either both lower case letters or both digits |
| 11|| first character is a lower case letter, second and third characters are either both lower case letters or both digits |
||
|- |
|- |
||
|12|| first two characters are both lower case letters |
| 12|| first two characters are both lower case letters |
||
|- |
|- |
||
|} |
|} |
||
Line 382: | Line 465: | ||
When receiving this error, be on the lookout for publishers who omitted leading zeros in the LCCN following the two or four digit year. For example, an LCCN that is [https://catalog.loc.gov/vwebv/search?searchCode=LCCN&searchArg=92035247&searchType=1&permalink=y properly 92-035427] could be shortened in the printed work to [https://books.google.com/books?id=3ocPU-S9gloC&q=35247 92-35247]. When experimenting with inserting omitted zeroes, cross-check the finished number against the LCCN permalinks online. |
When receiving this error, be on the lookout for publishers who omitted leading zeros in the LCCN following the two or four digit year. For example, an LCCN that is [https://catalog.loc.gov/vwebv/search?searchCode=LCCN&searchArg=92035247&searchType=1&permalink=y properly 92-035427] could be shortened in the printed work to [https://books.google.com/books?id=3ocPU-S9gloC&q=35247 92-35247]. When experimenting with inserting omitted zeroes, cross-check the finished number against the LCCN permalinks online. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_lccn}}.<ref group="lower-alpha" name="categories" /><section end="bad_lccn_help_text" /> |
||
==<span id="bad_message_id">Check |message-id= value</span>== |
==<span id="bad_message_id">Check |message-id= value</span>== |
||
<section begin=bad_message_id_help_text />{{help desk}} |
<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><</code> and the last character is not <code>></code>. [[Module:Citation/CS1]] adds the |
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><</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. |
||
Further validation is not performed. |
Further validation is not performed. |
||
Line 393: | Line 476: | ||
To resolve this error, ensure that the {{para|message-id}} value is correct, that it contains <code>@</code> and is not wrapped in <code><...></code> characters. |
To resolve this error, ensure that the {{para|message-id}} value is correct, that it contains <code>@</code> and is not wrapped in <code><...></code> characters. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_usenet_id}}.<ref group="lower-alpha" name="categories" /><section end="bad_message_id_help_text" /> |
||
==<span id="bad_mr">Check |mr= value</span>== |
==<span id="bad_mr">Check |mr= value</span>== |
||
<section begin=bad_mr_help_text />{{help desk}} |
<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| |
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. |
||
To resolve this error, ensure that the {{para|mr}} value is correct. |
To resolve this error, ensure that the {{para|mr}} value is correct. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_mr}}.<ref group="lower-alpha" name="categories" /><section end="bad_mr_help_text" /> |
||
==<span id="bad_oclc">Check |oclc= value</span>== |
==<span id="bad_oclc">Check |oclc= value</span>== |
||
<section begin=bad_oclc_help_text />{{help desk}} |
<section begin="bad_oclc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_oclc}} |
||
The {{para|oclc}} parameter is the [[OCLC]] identifier. Only a single OCLC identifier is allowed. |
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.) |
||
#prefix <code>ocm</code> followed by 8 digits |
|||
The identifier must be in one of these forms: |
|||
#prefix <code>ocn</code> followed by 9 digits |
|||
#prefix <code> |
# prefix <code>ocm</code> followed by 8 digits |
||
#prefix <code> |
# prefix <code>ocn</code> followed by 9 digits |
||
# prefix <code>on</code> followed by 10 (or more) digits |
|||
#1 to 10 digits without prefix |
|||
# prefix <code>(OCoLC)</code> followed by a variable number of digits without leading zeros |
|||
# 1 to 10 (or more) digits without prefix |
|||
Further validation is not performed. |
Further validation is not performed. |
||
To resolve this error, ensure that the {{para|oclc}} value is correct. |
To resolve this error, ensure that the {{para|oclc}} value is correct. |
||
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 [[ISBN]], [[LCCN]], [[ASIN]], or other identifiers in {{para|oclc}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_oclc}}.<ref group="lower-alpha" name="categories" /><section end="bad_oclc_help_text" /> |
||
==<span id="bad_ol">Check |ol= value</span>== |
==<span id="bad_ol">Check |ol= value</span>== |
||
<section begin=bad_ol_help_text />{{help desk}} |
<section begin="bad_ol_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_ol}} |
||
The {{para|ol}} parameter is 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 [[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. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_ol}}.<ref group="lower-alpha" name="categories" /><section end="bad_ol_help_text" /> |
||
==<span id="bad_osti">Check |osti= value</span>== |
|||
<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. |
|||
A common error is to include the OSTI ''URL'' (<code><nowiki>https://dx.doi.org/10.2172/</nowiki>{{red|<{{var|OSTI>}}}}</code>), or the OSTI ''DOI'' (<code>10.2172/{{red|<{{var|OSTI>}}}}</code>). |
|||
To resolve this error, ensure that the {{para|osti}} value is correct. |
|||
If the value is correct and lower than 1018 or larger than the currently configured limit of {{#invoke:Cs1 documentation support|id_limits_get|osti}}, please report this at [[Help talk:Citation Style 1]], so that the limit can be updated. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_osti}}.<ref group="lower-alpha" name="categories" /><section end="bad_osti_help_text" /> |
|||
==<span id="bad_paramlink">Check |<param>-link= value</span>== |
==<span id="bad_paramlink">Check |<param>-link= value</span>== |
||
<section begin=bad_paramlink_help_text />{{help desk}} |
<section begin="bad_paramlink_help_text" />{{help desk}} |
||
<div class="plainlist"> |
|||
*<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|<param>-link=</code> value</span> |
|||
* {{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_paramlink|$1=<code class="cs1-code"><param>-link</code>}} |
|||
*<span class="error">Check <code style="color:inherit; border:inherit; padding:inherit;">|<param>=</code> value</span></div> |
|||
* {{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_paramlink|$1=<code class="cs1-code"><param></code>}} |
|||
</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 [[wikilink]] to a related article. |
||
{{div col|colwidth=20em}} |
{{div col|colwidth=20em}} |
||
*{{para|author-link}} |
* {{para|author-link}} |
||
*{{para|contributor-link}} |
* {{para|contributor-link}} |
||
*{{para|editor-link}} |
* {{para|editor-link}} |
||
*{{para|episode-link}} |
* {{para|episode-link}} |
||
*{{para| |
* {{para|interviewer-link}} |
||
*{{para| |
* {{para|series-link}} |
||
*{{para| |
* {{para|subject-link}} |
||
*{{para| |
* {{para|title-link}} |
||
*{{para| |
* {{para|translator-link}} |
||
*{{para| |
* {{para|author}} |
||
*{{para| |
* {{para|contributor}} |
||
*{{para| |
* {{para|editor}} |
||
*{{para| |
* {{para|episode}} |
||
*{{para| |
* {{para|interviewer}} |
||
*{{para| |
* {{para|series}} |
||
*{{para| |
* {{para|subject}} |
||
* {{para|title}} |
|||
* {{para|translator}} |
|||
{{div col end}} |
{{div col end}} |
||
(Parameters checked for this error may also be of the form {{para| |
(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|<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>< > [ ] | { }</code>. |
This error occurs when any of these {{para|<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>< > [ ] | { }</code>. |
||
The {{para|<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|<param>-link}} parameter values for wikimarkup and for a [[URI scheme]] (<code>http://</code>, <code>https://</code>, the protocol relative scheme <code>//</code>, etc.). |
The {{para|<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|<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|<param>-link}} parameters require a leading colon: |
||
: <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: |
|||
: <code><nowiki>[[fr:Période d'exil de Caravage]]</nowiki></code> |
|||
do not create visible clickable links in the article text. Instead, these links appear in the left pane in the languages list. Module:Citation/CS1 disables interlanguage links in this form and emits an error message. The correct form is: |
|||
: <code><nowiki>[[:fr:Période d'exil de Caravage]]</nowiki></code> |
|||
This error can also be caused when there is a {{para|<param>-link}} value and the matching {{para|<param>}} parameter contains a wikilink.<!--formatting template such as {{tl|smallcaps}} or {{tl|IAST}}, which should not be used in CS1 or CS2 templates.--> |
This error can also be caused when there is a {{para|<param>-link}} value and the matching {{para|<param>}} parameter contains a wikilink.<!--formatting template such as {{tl|smallcaps}} or {{tl|IAST}}, which should not be used in CS1 or CS2 templates.--> |
||
Line 469: | Line 578: | ||
<!--* Make sure that there are no illegal characters in the paired parameters. These templates or HTML entities can be used to replace illegal characters in the title-holding parameter: |
<!--* Make sure that there are no illegal characters in the paired parameters. These templates or HTML entities can be used to replace illegal characters in the title-holding parameter: |
||
{| class="wikitable" style="margin-left: 6.4em" |
{| class="wikitable" style="margin-left: 6.4em" |
||
|+ |
|+ Replacements for prohibited wikilink title characters |
||
! < !! > !! [ !! ] !! {{pipe}} !! { !! } |
! < !! > !! [ !! ] !! {{pipe}} !! { !! } |
||
|- |
|- |
||
| &lt; || &gt; || &#91; || &#93; || &#124; || &#123; || &#125; |
| &lt; || &gt; || &#91; || &#93; || &#124; || &#123; || &#125; |
||
|- |
|- |
||
|colspan="2"| ||colspan="2" style="text-align: center;" | [[Template:Bracket|<nowiki>{{bracket|text}}</nowiki>]] || [[Template:Pipe|<nowiki>{{pipe}}</nowiki>]] ||colspan="2" | |
| colspan="2"| ||colspan="2" style="text-align: center;" | [[Template:Bracket|<nowiki>{{bracket|text}}</nowiki>]] || [[Template:Pipe|<nowiki>{{pipe}}</nowiki>]] ||colspan="2" | |
||
|}--> |
|}--> |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_paramlink}}.<ref group="lower-alpha" name="categories" /><section end="bad_paramlink_help_text" /> |
||
==<span id="bad_pmc">Check |pmc= value</span>== |
==<span id="bad_pmc">Check |pmc= value</span>== |
||
<section begin=bad_pmc_help_text />{{help desk}} |
<section begin="bad_pmc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_pmc}} |
||
The {{para|pmc}} parameter is 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 [[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. |
||
If the value is correct and larger than the currently configured limit of {{#invoke:Cs1 documentation support|id_limits_get|pmc}}, please report this at [[Help talk:Citation Style 1]], so that the limit can be updated. |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: PMC | Category:CS1 errors: PMC | [[:Category:CS1 errors: PMC]]}}.<ref group="lower-alpha" name="categories" /><section end=bad_pmc_help_text /> |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_pmc}}.<ref group="lower-alpha" name="categories" /><section end="bad_pmc_help_text" /> |
|||
==<span id="bad_pmid">Check |pmid= value</span>== |
==<span id="bad_pmid">Check |pmid= value</span>== |
||
<section begin=bad_pmid_help_text />{{help desk}} |
<section begin="bad_pmid_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_pmid}} |
||
The {{para|pmid}} parameter is 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 [[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}}. |
||
If the value is correct and larger than the currently configured limit of {{#invoke:Cs1 documentation support|id_limits_get|pmid}}, please report this at [[Help talk:Citation Style 1]], so that the limit can be updated. |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: PMID | Category:CS1 errors: PMID | [[:Category:CS1 errors: PMID]]}}.<ref group="lower-alpha" name="categories" /><section end=bad_pmid_help_text /> |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_pmid}}.<ref group="lower-alpha" name="categories" /><section end="bad_pmid_help_text" /> |
|||
==<span id="bad_rfc">Check |rfc= value</span>== |
|||
<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. |
|||
To resolve this error, ensure that the {{para|rfc}} value is correct. |
|||
If the value is correct and larger than the currently configured limit of {{#invoke:Cs1 documentation support|id_limits_get|rfc}}, please report this at [[Help talk:Citation Style 1]], so that the limit can be updated. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_rfc}}.<ref group="lower-alpha" name="categories" /><section end="bad_rfc_help_text" /> |
|||
==<span id="bad_sbn">Check |sbn= value</span>== |
==<span id="bad_sbn">Check |sbn= value</span>== |
||
<section begin=bad_sbn_help_text />{{help desk}} |
<section begin="bad_sbn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_sbn|$1=<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 [[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]]. |
||
The error message <type> indicator can be: |
The error message <type> indicator can be: |
||
:<span class="error" style="font-size:100%">length</span> – SBN is not 9 digits |
: <span class="error" style="font-size:100%">length</span> – SBN is not 9 digits |
||
:<span class="error" style="font-size:100%">checksum</span> – SBN has one or more incorrect digits; look for typos and transposition |
: <span class="error" style="font-size:100%">checksum</span> – SBN has one or more incorrect digits; look for typos and transposition |
||
:<span class="error" style="font-size:100%">invalid character</span> – SBN has one or more 'digits' that is not in the allowed set |
: <span class="error" style="font-size:100%">invalid character</span> – SBN has one or more 'digits' that is not in the allowed set |
||
:<span class="error" style="font-size:100%">invalid form</span> – mis-positioned 'X' check digit |
: <span class="error" style="font-size:100%">invalid form</span> – mis-positioned 'X' check digit |
||
To resolve this error, ensure that the {{para|sbn}} value is correct, that only one SBN is used, that the proper optional separators are used, and that no other text is included. If the check digit is a lowercase 'x', change it to an uppercase 'X'. |
To resolve this error, ensure that the {{para|sbn}} value is correct, that only one SBN is used, that the proper optional separators are used, and that no other text is included. If the check digit is a lowercase 'x', change it to an uppercase 'X'. |
||
*'''Do not''' try to resolve the error by simply recalculating the check digit. The check digit is there to check whether the main part of the number is correct. If the SBN is failing to validate, it is likely that there is a typo in the main part of the number. In this case, recalculating the check digit results in an apparently valid ISBN that leads to the wrong source (or to nowhere). |
* '''Do not''' try to resolve the error by simply recalculating the check digit. The check digit is there to check whether the main part of the number is correct. If the SBN is failing to validate, it is likely that there is a typo in the main part of the number. In this case, recalculating the check digit results in an apparently valid ISBN that leads to the wrong source (or to nowhere). |
||
*If the SBN as printed in your source is refusing to validate, '''do''' check both the front matter and the book cover for SBNs. It is not uncommon for the SBN to be misprinted in the front matter but correct on the cover. |
* If the SBN as printed in your source is refusing to validate, '''do''' check both the front matter and the book cover for SBNs. It is not uncommon for the SBN to be misprinted in the front matter but correct on the cover. |
||
*'''Do''' preview your edit and check that the new SBN does now link to the correct source. |
* '''Do''' preview your edit and check that the new SBN does now link to the correct source. |
||
In very rare cases, publishers have released books with malformed SBNs. If you are certain that a non-conforming SBN truly corresponds to the published work, then you can add [[Help:Citation_Style_1#Accept-this-as-written_markup|accept-this-as-written markup]] around the identifier to suppress the error message. In many cases, books may have been reissued with a corrected SBN. Use a corrected SBN when possible. |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: SBN | Category:CS1 errors: SBN | [[:Category:CS1 errors: SBN]]}}.<ref group="lower-alpha" name="categories" /><section end=bad_sbn_help_text /> |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_sbn}}.<ref group="lower-alpha" name="categories" /><section end="bad_sbn_help_text" /> |
|||
==<span id="bad_ssrn">Check |ssrn= value</span>== |
==<span id="bad_ssrn">Check |ssrn= value</span>== |
||
<section begin=bad_ssrn_help_text />{{help desk}} |
<section begin="bad_ssrn_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_ssrn}} |
||
The {{para|ssrn}} parameter is 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 [[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. |
||
If the value is correct and larger than the currently configured limit of {{#invoke:Cs1 documentation support|id_limits_get|ssrn}}, please report this at [[Help talk:Citation Style 1]], so that the limit can be updated. |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: SSRN | Category:CS1 errors: SSRN | [[:Category:CS1 errors: SSRN]]}}.<ref group="lower-alpha" name="categories" /><section end=bad_ssrn_help_text /> |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_ssrn}}.<ref group="lower-alpha" name="categories" /><section end="bad_ssrn_help_text" /> |
|||
==<span id="bad_s2cid">Check |s2cid= value</span>== |
==<span id="bad_s2cid">Check |s2cid= value</span>== |
||
<section begin=bad_s2cid_help_text />{{help desk}} |
<section begin="bad_s2cid_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_bad_s2cid}} |
||
The {{para|s2cid}} parameter is 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 [[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. |
||
If the value is correct and larger than the currently configured limit of {{#invoke:Cs1 documentation support|id_limits_get|s2cid}}, please report this at [[Help talk:Citation Style 1]], so that the limit can be updated. |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: S2CID | Category:CS1 errors: S2CID | [[:Category:CS1 errors: S2CID]]}}.<ref group="lower-alpha" name="categories" /><section end=bad_s2cid_help_text /> |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_s2cid}}.<ref group="lower-alpha" name="categories" /><section end="bad_s2cid_help_text" /> |
|||
==<span id="bad_url">Check |url= value</span>== |
==<span id="bad_url">Check |url= value</span>== |
||
<section begin=bad_url_help_text />{{help desk}} |
<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> |
||
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: |
||
*all [[Country code top-level domain|cc TLD]]s (the country code is not validated) |
* all [[Country code top-level domain|cc TLD]]s (the country code is not validated) |
||
*the [[.org]] [[TLD]] |
* the [[.org]] [[TLD]] |
||
*certain letters of the [[.com]] TLD (q, x, z) |
* certain letters of the [[.com]] TLD (q, x, z) |
||
*certain letters of the [[.net]] TLD (i, q) |
* certain letters of the [[.net]] TLD (i, q) |
||
Third- and subsequent-level domain names are not checked. The path portion of the URL is not checked. |
Third- and subsequent-level domain names are not checked. The path portion of the URL is not checked. |
||
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 [[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 }} |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_url}}.<ref group="lower-alpha" name="categories" /><section end="bad_url_help_text" /> |
||
==<span id="bad_zbl">Check |zbl= value</span>== |
==<span id="bad_zbl">Check |zbl= value</span>== |
||
<section begin=bad_zbl_help_text />{{help desk}} |
<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| |
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. |
||
To resolve this error, ensure that the {{para|zbl}} value is correct. |
To resolve this error, ensure that the {{para|zbl}} value is correct. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bad_zbl}}.<ref group="lower-alpha" name="categories" /><section end="bad_zbl_help_text" /> |
||
==<span id=" |
==<span id="param_unknown_empty">Cite has empty unknown parameter: <param></span>== |
||
<section begin="param_unknown_empty_help_text" />{{help desk}}{{plainlist| |
|||
<section begin=biorxiv_missing_help_text />{{help desk}}<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">|biorxiv=</code> required</span> |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_param_unknown_empty|$1=_|$2=<code class="cs1-code">{{pipe}}<param>=</code>}} |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_param_unknown_empty|$1=s|$2=<code class="cs1-code">{{pipe}}<param1>=</code>, <code class="cs1-code">{{pipe}}<param2>=</code>, ...}}}} |
|||
This error message is hidden. To show this error message see [[Help:CS1 errors#Controlling error message display|Controlling error message display]]. |
|||
{{tlx|cite bioRxiv}} requires the identifier parameter {{para|biorxiv}}. |
|||
This error message highlights CS1|2 templates that hold empty parameters with names that are not known to CS1|2. This error message is a companion to [[Help:CS1 errors#parameter_ignored|Unknown parameter {{pipe}}xxxx= ignored]]. |
|||
To resolve this error, ensure that the template has {{para|biorxiv}} with a properly constructed value. |
|||
Empty positional parameters, which typically look like two adjacent pipes in a template, <code><nowiki>| |</nowiki></code>, or a pipe and then the end of the template, <code><nowiki>|}}</nowiki></code>, are identified as numbered parameters: {{error-small|{{para|1|plain=yes}}}}. Similarly, a pipe followed by an HTML comment that encloses everything before the next pipe or closing brace, <code>| <!--<{{var|param name/value pair}}>--> |</code> will be identified as an empty numbered parameter. Parameters that have both a pipe and an equal sign but do not have a name are identified as empty-string parameters: <code>|=</code> or <code>| =</code> → {{error-small|{{para|(empty string)|plain=yes}}}}. Various templates that wrap CS1|2 templates may cause this error when they use constructs like this: <code><nowiki>|{{#if:{{{2|}}}|title}}={{{2|}}}</nowiki></code>. When <code><nowiki>{{{2|}}}</nowiki></code> does not have a value, the template creates <code>|=</code>. |
|||
To resolve this error, remove the extra pipe, correct the parameter name, or remove the parameter from the CS1|2 template. |
|||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_param_unknown_empty}}.<ref group="lower-alpha" name="categories" /><section end="param_unknown_empty_help_text" /> |
||
==<span id="missing_periodical"></span>Cite <template> requires |<param>=== |
==<span id="missing_periodical"></span>Cite <template> requires |<param>=== |
||
<section begin=missing_periodical_help_text />{{help desk}} |
<section begin="missing_periodical_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_missing_periodical|$1=<template>|$2=<param>}} |
||
This error message is hidden. To show this error message see [[Help:CS1 errors#Controlling error message display|Controlling error message display]]. |
|||
These CS1 periodical templates require a periodical parameter. The periodical templates are: |
These CS1 periodical templates require a periodical parameter. The periodical templates are: |
||
:{{tlx|cite journal}} |
: {{tlx|cite journal}} |
||
<!-- :{{tlx|cite news}} |
<!-- : {{tlx|cite news}} |
||
-->:{{tlx|cite magazine}} |
-->:{{tlx|cite magazine}} |
||
<!-- :{{tlx|cite web}} |
<!-- : {{tlx|cite web}} |
||
-->The error message suggests a periodical parameter that matches the template, but there is no requirement to use the suggested parameter; any one of these periodical parameters may be used: |
-->The error message suggests a periodical parameter that matches the template, but there is no requirement to use the suggested parameter; any one of these periodical parameters may be used: |
||
*{{para|journal}} |
* {{para|journal}} |
||
*{{para|magazine}} |
* {{para|magazine}} |
||
*{{para|newspaper}} |
* {{para|newspaper}} |
||
*{{para|periodical}} |
* {{para|periodical}} |
||
*{{para|website}} |
* {{para|website}} |
||
*{{para|work}} |
* {{para|work}} |
||
In some cases, an incorrect template has been used (e.g. {{tlx|cite journal}} for a web page, book, or standalone document). The appropriate resolution in these cases is to change the incorrect template to {{tlx|cite web}}, {{tlx|cite book}}, or a different, more appropriate template. |
In some cases, an incorrect template has been used (e.g. {{tlx|cite journal}} for a web page, book, or standalone document). The appropriate resolution in these cases is to change the incorrect template to {{tlx|cite web}}, {{tlx|cite book}}, or a different, more appropriate template. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_missing_periodical}}.<ref group="lower-alpha" name="categories" /><section end="missing_periodical_help_text" /> |
||
==<span id="deprecated_params"></span>Cite uses deprecated parameter |<param>== |
==<span id="deprecated_params"></span>Cite uses deprecated parameter |<param>= == |
||
<section begin=deprecated_params_help_text />{{help desk}} |
<section begin="deprecated_params_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_deprecated_params|$1=<param>}} |
||
Over time, some parameters have become obsolete or unnecessary. When this happens, the parameters are identified as deprecated. Editors are encouraged to use other parameters that accomplish the same purpose as those that have been deprecated. The CS1|2 deprecated parameters are listed in the following table, along with recommended replacement parameters. Parameter names are case-sensitive. Editors should expect that support for deprecated parameters will be withdrawn. |
Over time, some parameters have become obsolete or unnecessary. When this happens, the parameters are identified as deprecated. Editors are encouraged to use other parameters that accomplish the same purpose as those that have been deprecated. The CS1|2 deprecated parameters are listed in the following table, along with recommended replacement parameters. Parameter names are case-sensitive. Editors should expect that support for deprecated parameters will be withdrawn. |
||
{|class="wikitable" |
|||
To resolve this error, use a supported parameter. |
|||
|+Deprecated CS1/CS2 parameters |
|||
!Deprecated parameter!!Replace with |
|||
Plan for the future: All non-hyphenated, multiword parameter names are aliases of hyphenated multiword parameter names. The non-hyphenated aliases exist only for legacy support. Editors should expect that support for non-hyphenated parameter names will be withdrawn. Choose the hyphenated form when adding parameters to a citation template. Consider replacing non-hyphenated parameters with the hyphenated equivalents at the same time. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_deprecated_params}}.<ref group="lower-alpha" name="categories" /><section begin="deprecated_params_table" /> |
|||
{|class="wikitable" |
|||
|+ Deprecated CS1/CS2 parameters |
|||
! Deprecated parameter |
|||
! Replace with |
|||
! style="width: 110px;" | Date |
|||
<!-- |- |
|||
| none deprecated at present |
|||
| --> |
|||
|- |
|||
| {{para|conferenceurl}} |
|||
| {{para|conference-url}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|contributionurl}} |
|||
| {{para|contribution-url}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|laydate}} |
|||
| {{para|lay-date}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|laysource}} |
|||
| {{para|lay-source}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|layurl}} |
|||
| {{para|lay-url}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|sectionurl}} |
|||
| {{para|section-url}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|seriesno}} |
|||
| {{para|series-no}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|timecaption}} |
|||
| {{para|time-caption}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|titlelink}} |
|||
| {{para|title-link}} |
|||
| January 2021 |
|||
|} |
|||
<!-- Support for the following parameter aliases was recently removed. Usage in mainspace should be about zero, and hints for them added to the suggestion list. However, as they may occasionally pop up again through copy&paste or usage of old scripts for some while, list them here as well for users coming here searching for help. -->{|class="wikitable" |
|||
|+ Recently removed CS1/CS2 parameters |
|||
! Removed parameter !! Replace with !! Date |
|||
<!-- |- |
|||
| none removed at present |
|||
| --> |
|||
|- |
|||
| {{para|authorfirst}} |
|||
| {{para|author-first}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|authorfirst{{var|n}}}} |
|||
| {{para|author-first{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|author{{var|n}}first}} |
|||
| {{para|author{{var|n}}-first}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|authorgiven}} |
|||
| {{para|author-given}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|authorgiven{{var|n}}}} |
|||
| {{para|author-given{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|author{{var|n}}given}} |
|||
| {{para|author{{var|n}}-given}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|authorlast}} |
|||
| {{para|author-last}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|authorlast{{var|n}}}} |
|||
| {{para|author-last{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|author{{var|n}}last}} |
|||
| {{para|author{{var|n}}-last}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|authormask}} |
|||
| {{para|author-mask}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|authormask{{var|n}}}} |
|||
| {{para|author-mask{{var|n}}}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|author{{var|n}}mask}} |
|||
| {{para|author{{var|n}}-mask}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|authorsurname}} |
|||
| {{para|author-surname}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|authorsurname{{var|n}}}} |
|||
| {{para|author-surname{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|author{{var|n}}surname}} |
|||
| {{para|author{{var|n}}-surname}} |
|||
| October 2020 |
|||
|- |
|||
| {{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}} |
|||
| September 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|url-status|dead}} |
|||
| September 2019 |
|||
|- |
|||
| {{para|displayauthors}} |
|||
| {{para|display-authors}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|displayeditors}} |
|||
| {{para|display-editors}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|doi-broken}} |
|||
| {{para|doi-broken-date}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|doi-inactive-date}} |
|||
| {{para|doi-broken-date}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editorfirst}} |
|||
| {{para|editor-first}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editorfirst{{var|n}}}} |
|||
| {{para|editor-first{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editor{{var|n}}first}} |
|||
| {{para|editor{{var|n}}-first}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editorgiven}} |
|||
| {{para|editor-given}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editorgiven{{var|n}}}} |
|||
| {{para|editor-given{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editor{{var|n}}given}} |
|||
| {{para|editor{{var|n}}-given}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editorlast}} |
|||
| {{para|editor-last}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editorlast{{var|n}}}} |
|||
| {{para|editor-last{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editor{{var|n}}last}} |
|||
| {{para|editor{{var|n}}-last}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editorlink}} |
|||
| {{para|editor-link}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|editorlink{{var|n}}}} |
|||
| {{para|editor-link{{var|n}}}} |
|||
| January 2021 |
|||
|- |
|- |
||
| {{para|editor{{var|n}}link}} |
|||
|none deprecated at present |
|||
| {{para|editor{{var|n}}-link}} |
|||
| |
|||
| January 2021 |
|||
<!-- |
|||
|- |
|- |
||
| {{para|editors}} |
| {{para|editors}} |
||
| {{para|editor}} ( |
| {{para|editor}} (one editor) or {{para|editor{{var|n}}}} (more than one editor) or {{para|veditors}} (for Vancouver style editors). Consider splitting {{para|editor{{var|n}}}} into {{para|editor-first{{var|n}}}} and {{para|editor-last{{var|n}}}}, if possible. Consider {{para|editor-mask{{var|n}}}}, if annotation is required. |
||
| January 2021 |
|||
--> |
|||
|- |
|||
|}<section end=deprecated_params_table /> |
|||
| {{para|editorsurname}} |
|||
| {{para|editor-surname}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editorsurname{{var|n}}}} |
|||
| {{para|editor-surname{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editor{{var|n}}surname}} |
|||
| {{para|editor{{var|n}}-surname}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editormask}} |
|||
| {{para|editor-mask}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editormask{{var|n}}}} |
|||
| {{para|editor-mask{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|editor{{var|n}}mask}} |
|||
| {{para|editor{{var|n}}-mask}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|embargo}} |
|||
| {{para|pmc-embargo-date}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|event-format}} |
|||
| (delete) |
|||
| January 2021 |
|||
|- |
|||
| {{para|eventurl}} |
|||
| (delete) |
|||
| January 2021 |
|||
|- |
|||
| {{para|event-url}} |
|||
| (delete) |
|||
| January 2021 |
|||
|- |
|||
| {{para|ignoreisbnerror}} |
|||
| {{para|isbn|((<{{var|isbn}}>))}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|ignore-isbn-error}} |
|||
| {{para|isbn|((<{{var|isbn}}>))}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|interviewerlink}} |
|||
| {{para|interviewer-link}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|interviewerlink{{var|n}}}}<!-- for completeness only --> |
|||
| {{para|interviewer-link{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|interviewer{{var|n}}link}}<!-- for completeness only --> |
|||
| {{para|interviewer{{var|n}}-link}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|interviewermask}} |
|||
| {{para|interviewer-mask}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|interviewermask{{var|n}}}}<!-- for completeness only --> |
|||
| {{para|interviewer-mask{{var|n}}}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|interviewer{{var|n}}mask}}<!-- for completeness only --> |
|||
| {{para|interviewer{{var|n}}-mask}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|last-author-amp}} |
|||
| {{para|name-list-style|amp}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|lastauthoramp}} |
|||
| {{para|name-list-style|amp}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|nocat}} |
|||
| {{para|no-tracking}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|no-cat}} |
|||
| {{para|no-tracking}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|notracking}} |
|||
| {{para|no-tracking}} |
|||
| October 2020 |
|||
|- |
|||
| {{para|registration}} <!-- deprecation already some while ago, but gets reinserted into mainspace by old scripts, so continue to list until resolved --> |
|||
| {{para|url-access|registration}} |
|||
| January 2020 |
|||
|- |
|||
| {{para|seriesnumber}} |
|||
| (delete) |
|||
| January 2021 |
|||
|- |
|||
| {{para|series-separator}} |
|||
| (delete) |
|||
| October 2020 |
|||
|- |
|||
| {{para|subjectlink}} |
|||
| {{para|subject-link}} |
|||
| January 2021 |
|||
|- |
|||
| {{para|subjectlink{{var|n}}}} |
|||
| {{para|subject-link{{var|n}}}} |
|||
| January 2021 |
|||
|- |
|||
| {{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|url-access|subscription}} |
|||
| January 2020 |
|||
|}<section end="deprecated_params_table" /><section end="deprecated_params_help_text" /> |
|||
==<span id="generic_title">Cite uses generic title</span>== |
|||
To resolve this error, use a supported parameter. |
|||
<section begin="generic_title_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_generic_title}} |
|||
Articles are listed in this category when [[Module:Citation/CS1]] identifies template {{para|title}} parameters that use place-holder titles. Such titles may have been provided by bots or other tools that are unable to identify the source's correct title. Pages in this category should only be added by Module:Citation/CS1. |
|||
CS1|2 maintains a short list of 'titles' that are typically not the title of the cited source. Some examples are: |
|||
* Wayback machine |
|||
* This website is for sale |
|||
* Are you a robot? |
|||
If you are aware of other common place-holder titles, please report them at [[Help talk:Citation Style 1]], so that they can be added to the list. |
|||
To resolve this error, replace the place-holder title with the source's actual title. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_generic_title}}.<ref group="lower-alpha" name="categories" /> |
|||
See also the maintenance category [[:Category:CS1 maint: archived copy as title]].<section end="generic_title_help_text" /> |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: deprecated parameters | Category:CS1 errors: deprecated parameters | [[:Category:CS1 errors: deprecated parameters]]}}.<ref group="lower-alpha" name="categories" /><section end=deprecated_params_help_text /> |
|||
==<span id="citeseerx_missing">|citeseerx= required</span>== |
==<span id="citeseerx_missing">|citeseerx= required</span>== |
||
<section begin=citeseerx_missing_help_text />{{help desk}} |
<section begin="citeseerx_missing_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_citeseerx_missing}} |
||
{{tlx|cite citeseerx}} requires the identifier parameter {{para|citeseerx}}. |
{{tlx|cite citeseerx}} requires the identifier parameter {{para|citeseerx}}. |
||
Line 619: | Line 1,073: | ||
To resolve this error, ensure that the template has {{para|citeseerx}} with a properly constructed value. |
To resolve this error, ensure that the template has {{para|citeseerx}} with a properly constructed value. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_citeseerx_missing}}.<ref group="lower-alpha" name="categories" /><section end="citeseerx_missing_help_text" /> |
||
==<span id="class_ignored">|class= ignored</span>== |
==<span id="class_ignored">|class= ignored</span>== |
||
<section begin=class_ignored_help_text />{{help desk}} |
<section begin="class_ignored_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_class_ignored}} |
||
Only used in {{tlx|cite arXiv}} templates, {{para|class}} is only appropriate when the template uses {{para|arxiv|YYMM.NNNN}} or {{para|arxiv|YYMM.NNNNN}} identifier formats; see [[Template:Cite arXiv#Usage|Cite arXiv §Usage]]. |
Only used in {{tlx|cite arXiv}} templates, {{para|class}} is only appropriate when the template uses {{para|arxiv|YYMM.NNNN}} or {{para|arxiv|YYMM.NNNNN}} identifier formats; see [[Template:Cite arXiv#Usage|Cite arXiv §Usage]]. |
||
Line 628: | Line 1,082: | ||
To resolve this error, remove {{para|class}}. |
To resolve this error, remove {{para|class}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_class_ignored}}.<ref group="lower-alpha" name="categories" /><section end="class_ignored_help_text" /> |
||
==<span id="contributor_ignored">|contributor= ignored</span>== |
==<span id="contributor_ignored">|contributor= ignored</span>== |
||
<section begin=contributor_ignored_help_text />{{help desk}} |
<section begin="contributor_ignored_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_contributor_ignored}} |
||
Only used in book citations, {{para|contributor}} identifies the author of a contribution, typically an afterword, foreword, introduction, preface, etc., to another (primary) author's work. This error occurs when {{para|contributor}} is used in a template that is not {{tlx|cite book}} or {{tlx|citation}} or is one of these two templates and one of the {{para|work}} parameter aliases is set. |
Only used in book citations, {{para|contributor}} identifies the author of a contribution, typically an afterword, foreword, introduction, preface, etc., to another (primary) author's work. This error occurs when {{para|contributor}} is used in a template that is not {{tlx|cite book}} or {{tlx|citation}} or is one of these two templates and one of the {{para|work}} parameter aliases is set. |
||
Line 637: | Line 1,091: | ||
To resolve this error, choose a more appropriate CS1 or CS2 template or remove {{para|contributor}}. |
To resolve this error, choose a more appropriate CS1 or CS2 template or remove {{para|contributor}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_contributor_ignored}}.<ref group="lower-alpha" name="categories" /><section end="contributor_ignored_help_text" /> |
||
==<span id="contributor_missing_required_param">|contributor= requires |<param>= </span>== |
==<span id="contributor_missing_required_param">|contributor= requires |<param>= </span>== |
||
<section begin=contributor_missing_required_param_help_text />{{help desk}} |
<section begin="contributor_missing_required_param_help_text" />{{help desk}}{{plainlist| |
||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_contributor_missing_required_param|$1=author}} |
|||
*<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">{{pipe}}contributor=</code> requires <code style="color:inherit; border:inherit; padding:inherit;">{{pipe}}author=</code></span> |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_contributor_missing_required_param|$1=contribution}}}} |
|||
*<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">{{pipe}}contributor=</code> requires <code style="color:inherit; border:inherit; padding:inherit;">{{pipe}}contribution=</code></span></div> |
|||
Only used in book citations, {{para|contributor}} identifies the author of a contribution, typically an afterword, foreword, introduction, preface, etc., to another (primary) author's work. As such, the primary author is required ({{para|author}} or appropriate alias) as is the title of the contribution ({{para|contribution}}). |
Only used in book citations, {{para|contributor}} identifies the author of a contribution, typically an afterword, foreword, introduction, preface, etc., to another (primary) author's work. As such, the primary author is required ({{para|author}} or appropriate alias) as is the title of the contribution ({{para|contribution}}). |
||
Line 648: | Line 1,102: | ||
To resolve this error, include the book's primary author in {{para|author1}}, or {{para|last1}}, {{para|first1}}, or {{para|vauthors}} and include the contribution title in {{para|contribution}}; or remove {{para|contributor}}. |
To resolve this error, include the book's primary author in {{para|author1}}, or {{para|last1}}, {{para|first1}}, or {{para|vauthors}} and include the contribution title in {{para|contribution}}; or remove {{para|contributor}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_contributor_missing_required_param}}.<ref group="lower-alpha" name="categories" /><section end="contributor_missing_required_param_help_text" /> |
||
==<span id="doibroken_missing_doi">|doi-broken-date= requires |doi=</span>== |
|||
<section begin="doibroken_missing_doi_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_doibroken_missing_doi|$1=doi-broken-date}} |
|||
When {{para|doi-broken-date}} is used in a CS1|2 template, {{para|doi}} or {{para|DOI}} (with value) must also be present. |
|||
To resolve this error, either add the missing DOI or remove the 'broken' parameter. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_doibroken_missing_doi}}.<ref group="lower-alpha" name="categories" /><section end="doibroken_missing_doi_help_text" /> |
|||
==<span id="err_extra_text_edition">|edition= has extra text </span>== |
|||
<section begin="extra_text_edition_help_text" />{{help desk}} |
|||
{{#invoke:Cs1 documentation support|help_text_error_messages|err_extra_text_edition}} |
|||
The templates are responsible for static text rendered in the citation. When {{para|edition}} is used in a template, cs1|2 adds the abbreviation 'ed.' to the value in the parameter so: |
|||
:{{para|edition|1st}} |
|||
renders as: |
|||
:1st ed. |
|||
The templates emit this error message when various forms of <code>ed</code>, <code>edn</code>, or <code>edition</code> are found in the value assigned to {{para|edition}}. |
|||
To resolve this error, remove the extraneous text from the parameter value. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_extra_text_edition}}.<ref group="lower-alpha" name="categories" /><section end="extra_text_edition_help_text" /> |
|||
==<span id="empty_citation">Empty citation</span>== |
==<span id="empty_citation">Empty citation</span>== |
||
<section begin=empty_citation_help_text />{{help desk}} |
<section begin="empty_citation_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_empty_citation}} |
||
A {{cs1}} or {{cs2}} template marked as "Empty" contains no recognizable parameter identifiers. For example, this citation is marked as "empty" even though it contains usable information: |
A {{cs1}} or {{cs2}} template marked as "Empty" contains no recognizable parameter identifiers. For example, this citation is marked as "empty" even though it contains usable information: |
||
:<code><nowiki>{{cite web | |
:<code><nowiki>{{cite web |http://www.foobar.com |The Foobar News}}</nowiki></code> |
||
The citation is "empty" because it does not contain the necessary parameter identifiers (in this case {{para|url}} and {{para|title}}) that tell {{tlx|cite web}} how to use the information that the citation does contain. |
The citation is "empty" because it does not contain the necessary parameter identifiers (in this case {{para|url}} and {{para|title}}) that tell {{tlx|cite web}} how to use the information that the citation does contain. |
||
A citation is also marked as "empty" when it contains only parameters that it doesn't recognize: |
A citation is also marked as "empty" when it contains only parameters that it doesn't recognize: |
||
:<code><nowiki>{{cite book |titolo=The Bazquux Uprising |anno=2015}}</nowiki></code> |
: <code><nowiki>{{cite book |titolo=The Bazquux Uprising |anno=2015}}</nowiki></code> |
||
This citation is "empty" because the Italian-language parameters {{para|titolo}} and {{para|anno}} are not recognized as valid parameter names on the English Wikipedia. |
This citation is "empty" because the Italian-language parameters {{para|titolo}} and {{para|anno}} are not recognized as valid parameter names on the English Wikipedia. |
||
Line 665: | Line 1,142: | ||
To resolve this error, add appropriate parameter identifiers, translate foreign language parameter names to their English equivalents, or replace the CS1/CS2 template with a more appropriate template. |
To resolve this error, add appropriate parameter identifiers, translate foreign language parameter names to their English equivalents, or replace the CS1/CS2 template with a more appropriate template. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_empty_citation}}.<ref group="lower-alpha" name="categories" /><section end="empty_citation_help_text" /> |
||
== <span id="explicit_et_al">Explicit use of et al.</span> == |
== <span id="explicit_et_al">Explicit use of et al.</span> == |
||
<section begin=explicit_etal_help_text />{{help desk}} |
<section begin="explicit_etal_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_etal|$1=<param>}} |
||
This error occurs where a {{cs1}} or {{cs2}} template detects that one of the names parameters contains some form of "et al." either as a separate name parameter ({{para|author6|et al.}}) or as a suffix added to a name list ({{para|author|Smith, A.B. et al.}}) or first name ({{para|first|John, et al.}}). |
This error occurs where a {{cs1}} or {{cs2}} template detects that one of the names parameters contains some form of "et al." either as a separate name parameter ({{para|author6|et al.}}) or as a suffix added to a name list ({{para|author|Smith, A.B. et al.}}) or first name ({{para|first|John, et al.}}). |
||
Line 674: | Line 1,151: | ||
This error can occur in any of the author, editor, interviewer, translator, or contributor parameters. |
This error can occur in any of the author, editor, interviewer, translator, or contributor parameters. |
||
Use the {{para|display-authors}} parameter instead (or other applicable display- |
Use the {{para|display-authors}} parameter instead (or other applicable {{para|display-''<names>''}} parameter), as documented at [[Help:Citation Style 1#Display options]]. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_etal}}.<ref group="lower-alpha" name="categories" /><section end="explicit_etal_help_text" /> |
||
==<span id="param_has_ext_link">External link in |<param>=</span>== |
==<span id="param_has_ext_link">External link in |<param>=</span>== |
||
<section begin=param_has_ext_link_help_text />{{help desk}} |
<section begin="param_has_ext_link_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_param_has_ext_link|$1={{pipe}}<param>=}} |
||
This error occurs when any of the [[Help:Citation Style 1|CS1]] or [[Help:Citation Style 2|CS2 citation]] title-holding parameters – {{para|title}}, {{para|chapter}}, {{para|publisher}}, {{para|work}} or any of its aliases: {{para|journal}}, {{para|magazine}}, {{para|newspaper}}, {{para|periodical}} and {{para|website}} – hold an external link (URL). External links in these parameters corrupt the citation's metadata and can be the source of a variety of other error messages. |
This error occurs when any of the [[Help:Citation Style 1|CS1]] or [[Help:Citation Style 2|CS2 citation]] title-holding parameters – {{para|title}}, {{para|chapter}}, {{para|publisher}}, {{para|work}} or any of its aliases: {{para|journal}}, {{para|magazine}}, {{para|newspaper}}, {{para|periodical}} and {{para|website}} – hold an external link (URL). External links in these parameters corrupt the citation's metadata and can be the source of a variety of other error messages. |
||
Line 687: | Line 1,164: | ||
* for other parameters, it may belong in {{para|url}}. |
* for other parameters, it may belong in {{para|url}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_param_has_ext_link}}.<ref group="lower-alpha" name="categories" /><section end="param_has_ext_link_help_text" /> |
||
==<span id="first_missing_last">|<first>''n''= missing |<last>''n''=</span>== |
==<span id="first_missing_last">|<first>''n''= missing |<last>''n''=</span>== |
||
<section begin="first_missing_last_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_first_missing_last|$1=<first>{{var|n}}|$2=<last>{{var|n}}}} |
|||
<section begin=first_missing_last_help_text />{{help desk}}<span class="error"><code style="color:inherit; border:inherit; padding:inherit; background:inherit">|<first>{{var|n}}=</code> missing <code style="color:inherit; border:inherit; padding:inherit; background:inherit">|<last>{{var|n}}=</code></span> |
|||
{{cs1}} and {{cs2}} templates requires a {{para|<last>''n''}} parameter for each {{para|<first>''n''}} parameter in a citation. Author, contributor, editor, interviewer, and translator lists are checked for proper last/first pairing. CS1|2 will emit this error message for the first mismatch it detects. If there are more last/first mismatches in a citation, subsequent mismatches are not detected. |
{{cs1}} and {{cs2}} templates requires a {{para|<last>''n''}} parameter for each {{para|<first>''n''}} parameter in a citation. Author, contributor, editor, interviewer, and translator lists are checked for proper last/first pairing. CS1|2 will emit this error message for the first mismatch it detects. If there are more last/first mismatches in a citation, subsequent mismatches are not detected. |
||
Line 699: | Line 1,175: | ||
To resolve this error, ensure that each {{para|<first>''n''}} has a corresponding {{para|<last>''n''}}. |
To resolve this error, ensure that each {{para|<first>''n''}} has a corresponding {{para|<last>''n''}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_first_missing_last}}.<ref group="lower-alpha" name="categories" /><section end="first_missing_last_help_text" /> |
||
==<span id="format_missing_url">|format= requires |url= </span>== |
==<span id="format_missing_url">|format= requires |url= </span>== |
||
<section begin=format_missing_url_help_text />{{help desk}} |
<section begin="format_missing_url_help_text" />{{help desk}}{{plainlist| |
||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_format_missing_url|$1=format|$2=url}} |
|||
*<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">|format=</code> requires <code style="color:inherit; border:inherit; padding:inherit;">|url=</code></span> |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_format_missing_url|$1=...-format|$2=...-url}}}} |
|||
*<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">|...-format=</code> requires <code style="color:inherit; border:inherit; padding:inherit;">|...-url=</code></span></div> |
|||
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 [[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. |
||
The list of {{para|...-format}} parameters is: |
The list of {{para|...-format}} parameters is: |
||
:{{para|archive-format}}, {{para|chapter-format}}, {{para|conference-format}}, {{para|contribution-format}}, {{para|event-format}}, {{para|lay-format}}, {{para|section-format}}, {{para|transcript-format}} |
: {{para|archive-format}}, {{para|article-format}}, {{para|chapter-format}}, {{para|conference-format}}, {{para|contribution-format}}, {{para|entry-format}}, {{para|event-format}}, {{para|lay-format}}, {{para|map-format}}, {{para|section-format}}, {{para|transcript-format}} |
||
(<!-- TBD: Ia this still necessary to be mentioned? -->Citations that relied on the pre-2014<!-- 2014-11-29 -->, somewhat odd use of {{para|url}} and {{para|format}} may need adjustment in regard to {{para|chapter-format}}.) |
|||
To resolve this error, remove {{para|format}} or {{para|chapter-format}}; define {{para|url}} or {{para|chapter-url}}; or change {{para|format}} to {{para|type}} (or to {{para|chapter-format}} if {{para|chapter-url}} is used without {{para|url}}. |
To resolve this error, remove {{para|format}} or {{para|chapter-format}}; define {{para|url}} or {{para|chapter-url}}; or change {{para|format}} to {{para|type}} (or to {{para|chapter-format}} if {{para|chapter-url}} is used without {{para|url}}. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_format_missing_url}}.<ref group="lower-alpha" name="categories" /><section end="format_missing_url_help_text" /> |
||
==<span id=" |
==<span id="disp_name">Invalid |display-<names>=<value></span>== |
||
<section begin="disp_name_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_disp_name|$1=<names>|$2=<value>}} |
|||
<section begin=script_parameter_help_text />{{help desk}}<span class="error">Invalid <code style="color:inherit; border:inherit; padding:inherit;">|script-<param>=: <type></code></span> |
|||
These error messages are emitted when [[Module:Citation/CS1]] identifies citations that use one or more of the {{para|display-<names>}} parameters with an invalid assigned <code><value></code>. An invalid assigned <code><value></code> is a number that is greater than or equal to the number of <code><names></code> in the associated name-list or it is non-numeric text that Module:Citation/CS1 cannot recognize as a form of the keyword <code>etal</code>. |
|||
The various {{para|script-<{{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-<{{var|param}}>}} parameter has a language-code prefix but is otherwise empty |
|||
To resolve this error, do one of the following: |
|||
:<span class="error" style="font-size:100%">missing prefix</span> – the {{para|script-<{{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 |
|||
* Remove the {{para|display-<names>}} parameter from the citation (because "et al." is not appropriate in the citation) |
|||
:<span class="error" style="font-size:100%">unknown language code</span> – the {{para|script-<{{var|param}}>}} parameter has a (possibly valid) language code that cs1|2 does not recognize as a language using a non-Latin script |
|||
* Change the <code><value></code> of the {{para|display-<names>}} parameter such that it is less than the number of <code><names></code> in the name-list (thereby truncating the displayed list to the number) |
|||
Language codes known to cs1|2 for languages that do not use a Latin script are: |
|||
* Change the <code><value></code> of the {{para|display-<names>}} parameter to <code>etal</code>, which will cause "et al" to display after the last <code><name></code>. |
|||
{{#invoke:Cs1 documentation support|script_lang_lister}}<!-- makes a language code: name list from the master list in [[Module:Citation/CS1/Configuration]] --> |
|||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_disp_name}}.<ref group="lower-alpha" name="categories" /><section end="disp_name_help_text" /> |
||
==<span id="invalid_param_val">Invalid <param>=<value></span>== |
==<span id="invalid_param_val">Invalid <param>=<value></span>== |
||
<section begin=invalid_param_val_help_text />{{help desk}} |
<section begin="invalid_param_val_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_invalid_param_val|$1=<param>|$2=<value>}} |
||
To function properly, some parameters are limited to a certain set of acceptable values. This error message indicates that a parameter has been assigned a value that is not a member of the parameter's defined set of acceptable values. |
To function properly, some parameters are limited to a certain set of acceptable values. This error message indicates that a parameter has been assigned a value that is not a member of the parameter's defined set of acceptable values. |
||
Line 736: | Line 1,212: | ||
Letters in values must all be in lower case, as shown below. |
Letters in values must all be in lower case, as shown below. |
||
{|class="wikitable" |
{|class="wikitable" |
||
|+Parameters with limited acceptable values |
|+ Parameters with limited acceptable values |
||
|- |
|- |
||
! |
! Parameter !! Acceptable values |
||
|- |
|- |
||
|{{para|df}} ||<code>dmy</code>, <code>dmy-all</code>, <code>mdy</code>, <code>mdy-all</code>, <code>ymd</code>, <code>ymd-all</code> |
| {{para|df}} ||<code>dmy</code>, <code>dmy-all</code>, <code>mdy</code>, <code>mdy-all</code>, <code>ymd</code>, <code>ymd-all</code> |
||
|- |
|- |
||
|{{para| |
| {{para|mode}}||<code>cs1</code>, <code>cs2</code> |
||
|- |
|- |
||
| {{para|name-list-style}} || <code>amp</code>, <code>ampersand</code>, <code>and</code>, <code>&</code>, <code>serial</code>, <code>vanc</code> |
|||
|{{para|last-author-amp}} |
|||
|- |
|- |
||
|{{para| |
| {{para|no-pp}}||rowspan=2|<code>true</code>, <code>y</code>, <code>yes</code> |
||
|- |
|- |
||
|{{para| |
| {{para|no-tracking}} |
||
|- |
|- |
||
|{{para| |
| {{para|bibcode-access}}||rowspan=7|<code>free</code> |
||
|- |
|- |
||
|{{para| |
| {{para|doi-access}} |
||
|- |
|- |
||
|{{para| |
| {{para|hdl-access}} |
||
|- |
|- |
||
|{{para| |
| {{para|jstor-access}} |
||
|- |
|- |
||
| {{para|ol-access}} |
|||
|{{para|url-access}}||rowspan=7|<code>subscription</code>, <code>registration</code>, <code>limited</code> |
|||
|- |
|- |
||
|{{para| |
| {{para|osti-access}} |
||
|- |
|- |
||
|{{para| |
| {{para|s2cid-access}} |
||
|- |
|- |
||
| {{para|url-access}}||rowspan=7|<code>subscription</code>, <code>registration</code>, <code>limited</code> |
|||
|{{para|contribution-url-access}} |
|||
|- |
|- |
||
|{{para| |
| {{para|article-url-access}} |
||
|- |
|- |
||
|{{para| |
| {{para|chapter-url-access}} |
||
|- |
|- |
||
|{{para| |
| {{para|contribution-url-access}} |
||
|- |
|- |
||
|{{para| |
| {{para|entry-url-access}} |
||
|- |
|- |
||
|{{para| |
| {{para|map-url-access}} |
||
|- |
|- |
||
|{{para| |
| {{para|section-url-access}} |
||
|- |
|- |
||
| {{para|url-status}}||<code>dead</code>, <code>live</code>, <code>unfit</code>, <code>usurped</code> |
|||
|{{para|jstor-access}} |
|||
|- |
|||
|{{para|ol-access}} |
|||
|- |
|||
|{{para|osti-access}} |
|||
|- |
|||
|{{para|url-status}}||<code>dead</code>, <code>live</code>, <code>unfit</code>, <code>usurped</code> |
|||
|} |
|} |
||
To resolve this error, use an appropriate value. |
To resolve this error, use an appropriate value. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_invalid_param_val}}.<ref group="lower-alpha" name="categories" /><section end="invalid_param_val_help_text" /> |
||
==<span id="script_parameter">Invalid |script-<param>=: <type></span>== |
|||
<section begin="script_parameter_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_script_parameter|$1=script-<param>|$2=<type>}} |
|||
The various {{para|script-<{{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-<{{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-<{{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%">unknown language code</span> – the {{para|script-<{{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: |
|||
{{#invoke:Cs1 documentation support|script_lang_lister}}<!-- makes a language code: name list from the master list in [[Module:Citation/CS1/Configuration]] --> |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_script_parameter}}.<ref group="lower-alpha" name="categories" /><section end="script_parameter_help_text" /> |
|||
==<span id="err_extra_text_issue">|issue=/|number= has extra text</span>== |
|||
<section begin="extra_text_issue_help_text" />{{help desk}} |
|||
{{#invoke:Cs1 documentation support|help_text_error_messages|err_extra_text_issue|issue}}<br/> |
|||
{{#invoke:Cs1 documentation support|help_text_error_messages|err_extra_text_issue|number}} |
|||
The templates are responsible for static text rendered in the citation. When {{para|issue}} or {{para|number}} is used in a template, cs1|2 formats the issue number according to the style corresponding with the publication type associated with the used citation template. |
|||
The templates emit this error message when various forms of issue or number prefixes (like <code>Iss.</code> or <code>No.</code>) are found in the value assigned to {{para|issue}} or {{para|number}}. |
|||
To resolve this error, remove the extraneous text from the parameter value. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_extra_text_issue}}.<ref group="lower-alpha" name="categories" /><section end="extra_text_issue_help_text" /> |
|||
==<span id="apostrophe_markup">Italic or bold markup not allowed in: |<param>=</span>== |
==<span id="apostrophe_markup">Italic or bold markup not allowed in: |<param>=</span>== |
||
<section begin="apostrophe_markup_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_apostrophe_markup|$1=<param>{{var|n}}}} |
|||
<section begin=apostrophe_markup_help_text />{{help desk}}<span class="error">Italic or bold markup not allowed in: <code style="color:inherit; border:inherit; padding:inherit; background:inherit">|<param>{{var|n}}=</code></span> |
|||
Italic (<code><nowiki>''</nowiki></code>) or bold (<code><nowiki>'''</nowiki></code>) wikimarkup is not allowed in publisher and periodical parameters. These parameters include: |
Italic (<code><nowiki>''</nowiki></code>) or bold (<code><nowiki>'''</nowiki></code>) wikimarkup is not allowed in publisher and periodical parameters. These parameters include: |
||
*{{para|publisher}} |
* {{para|publisher}} |
||
*{{para|journal}} |
* {{para|journal}} |
||
*{{para|magazine}} |
* {{para|magazine}} |
||
*{{para|newspaper}} |
* {{para|newspaper}} |
||
*{{para|periodical}} |
* {{para|periodical}} |
||
*{{para|website}} |
* {{para|website}} |
||
*{{para|work}} |
* {{para|work}} |
||
To resolve this error, remove wiki markup from the named parameter's value and ensure that the template is using the correct parameters; when citing a newspaper, use {{para|newspaper}} for the newspaper's name, not {{para|publisher}}, etc. |
To resolve this error, remove wiki markup from the named parameter's value and ensure that the template is using the correct parameters; when citing a newspaper, use {{para|newspaper}} for the newspaper's name, not {{para|publisher}}, etc. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_apostrophe_markup}}.<ref group="lower-alpha" name="categories" /><section end="apostrophe_markup_help_text" /> |
||
==<span id="missing_name">Missing |<name>''n''=</span>== |
==<span id="missing_name">Missing |<name>''n''=</span>== |
||
<section begin="missing_name_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_missing_name|$1=<name>|$2={{var|n}}}} |
|||
<section begin=missing_name_help_text />{{help desk}}<span class="error">Missing <code style="color:inherit; border:inherit; padding:inherit; background:inherit">|<name>{{var|n}}=</code></span> |
|||
So that all names are listed in a rendered citation, {{cs1}} and {{cs2}} templates require ''n'' in {{para|<last>{{var|n}}}} (and its aliases) to increment by 1 for each name in the list (author, contributor, editor, interviewer, translator). This error message is emitted when there is a 'hole' in the numbering (an author list made up of {{para|author1}} and {{para|author3}} but without {{para|author2}} for example). |
So that all names are listed in a rendered citation, {{cs1}} and {{cs2}} templates require ''n'' in {{para|<last>{{var|n}}}} (and its aliases) to increment by 1 for each name in the list (author, contributor, editor, interviewer, translator). This error message is emitted when there is a 'hole' in the numbering (an author list made up of {{para|author1}} and {{para|author3}} but without {{para|author2}} for example). |
||
Line 816: | Line 1,310: | ||
To resolve this error, ensure that the numbering of the {{para|<last>{{var|n}}}} parameters increments properly. |
To resolve this error, ensure that the numbering of the {{para|<last>{{var|n}}}} parameters increments properly. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_missing_name}}.<ref group="lower-alpha" name="categories" /><section end="missing_name_help_text" /> |
||
==<span id="missing_pipe">Missing pipe</span>== |
|||
<section begin=missing_pipe_help_text />{{help desk}} |
|||
<span class="error">Missing pipe in: <code style="color:inherit; border:inherit; padding:inherit; background: inherit;"><param>=</code></span> |
|||
{{cs1}} and {{cs2}} templates report this error when one parameter has text that looks like it is a parameter missing a pipe (<code>|</code>). This error occurs when a template parameter value contains characters and digits followed by an equal sign. If the alphanumeric text immediately preceding the equal sign is a valid cs1|2 parameter name, the module assumes that the template is missing a pipe and emits this error message. |
|||
Some legitimate titles will contain a cs1|2 parameter name followed by an equal sign. In that case, enclose the equal sign in nowiki tags, like this: {{tag|nowiki|content={{=}}}}. For most other cases, simply add the missing pipe. |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: missing pipe | Category:CS1 errors: missing pipe | [[:Category:CS1 errors: missing pipe]]}}.<ref group="lower-alpha" name="categories" /><section end=missing_pipe_help_text /> |
|||
==<span id="missing_title">Missing or empty |title= </span>== |
==<span id="missing_title">Missing or empty |title= </span>== |
||
Line 832: | Line 1,316: | ||
===<span id="bare_url_missing_title">Bare URL without a title</span>=== |
===<span id="bare_url_missing_title">Bare URL without a title</span>=== |
||
<section begin=bare_url_missing_title_help_text />{{help desk}} |
<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}}<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 [[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" |
||
|+URL-containing parameters and associated title parameters |
|+ URL-containing parameters and associated title parameters |
||
|- |
|- |
||
!URL parameters |
! URL parameters |
||
!Title parameters |
! Title parameters |
||
|- |
|- |
||
| {{para|archive-url}} |
| {{para|archive-url}} |
||
| {{para|title}} |
| {{para|title}} |
||
|- |
|- |
||
|{{para| |
| {{para|article-url}} |
||
| {{para|chapter}}, {{para|contribution}}, {{para|entry}}, {{para| |
| {{para|article}}, {{para|chapter}}, {{para|contribution}}, {{para|entry}}, {{para|section}} |
||
|- |
|||
| {{para|chapter-url}} |
|||
| {{para|chapter}}, {{para|article}}, {{para|contribution}}, {{para|entry}}, {{para|section}} |
|||
|- |
|- |
||
| {{para|conference-url}} |
| {{para|conference-url}} |
||
| {{para|conference}} |
| {{para|conference}}, {{para|event}} |
||
|- |
|- |
||
| {{para|contribution-url}} |
| {{para|contribution-url}} |
||
| {{para|chapter}}, {{para| |
| {{para|contribution}}, {{para|chapter}}, {{para|article}}, {{para|entry}}, {{para|section}} |
||
|- |
|||
| {{para|entry-url}} |
|||
| {{para|entry}}, {{para|chapter}}, {{para|article}}, {{para|contribution}}, {{para|section}} |
|||
|- |
|||
| {{para|event-url}} |
|||
| {{para|event}}, {{para|conference}} |
|||
<!-- |- |
|||
| {{para|lay-url}} |
|||
| ({{para|lay-source}}) --> |
|||
|- |
|||
| {{para|map-url}} |
|||
| {{para|map}} |
|||
|- |
|||
| {{para|section-url}} |
|||
| {{para|section}}, {{para|chapter}}, {{para|article}}, {{para|contribution}}, {{para|entry}} |
|||
|- |
|- |
||
| {{para|transcript-url}} |
| {{para|transcript-url}} |
||
Line 861: | Line 1,363: | ||
|} |
|} |
||
A unique case exists: if {{para|pmc}} has a value |
A unique case exists for {{tl|cite journal}}: if {{para|pmc}} or {{para|doi}} has a value, {{para|url}} is omitted or empty, and {{para|title-link}} does not point to an article, then {{para|title}} is automatically linked with the same URL as the PMC or DOI. This default behaviour can be overridden using {{para|title-link|none/pmc/doi}}. |
||
Because URLs are ugly and generally uninformative, it is expected that editors should provide a meaningful title for each URL. In most cases this can be accomplished by using the {{para|title}} parameter. |
Because URLs are ugly and generally uninformative, it is expected that editors should provide a meaningful title for each URL. In most cases this can be accomplished by using the {{para|title}} parameter. |
||
Line 867: | Line 1,369: | ||
To resolve this error, provide an appropriate title for the URL-containing parameter. In the case where {{para|url}} and {{para|title-link}} are contending for {{para|title}} you must choose which one to keep. Consider moving {{para|url}} or {{para|title-link}} to a more suitable parameter. |
To resolve this error, provide an appropriate title for the URL-containing parameter. In the case where {{para|url}} and {{para|title-link}} are contending for {{para|title}} you must choose which one to keep. Consider moving {{para|url}} or {{para|title-link}} to a more suitable parameter. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_bare_url_missing_title|pages=yes}}.<ref group="lower-alpha" name="categories" /><section end="bare_url_missing_title_help_text" /> |
||
===<span id="citation_missing_title">Citation without a title of any form</span>=== |
===<span id="citation_missing_title">Citation without a title of any form</span>=== |
||
<section begin=citation_missing_title_help_text />{{help desk}} |
<section begin="citation_missing_title_help_text" />{{help desk}}{{plainlist| |
||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_citation_missing_title|$1=title}} |
|||
*<span class="error">Missing or empty <code style="color:inherit; border:inherit; padding:inherit;">|title=</code></span> |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_citation_missing_title|$1=series}}}} |
|||
*<span class="error">Missing or empty <code style="color:inherit; border:inherit; padding:inherit;">|series=</code></span></div> |
|||
This error occurs for {{cs1}} and {{cs2}} templates when all of {{para|title}}, {{para|trans-title}}, and {{para|script-title}} are omitted or left blank. At least one of these title parameters must be provided for each citation. |
This error occurs for {{cs1}} and {{cs2}} templates when all of {{para|title}}, {{para|trans-title}}, and {{para|script-title}} are omitted or left blank. At least one of these title parameters must be provided for each citation. |
||
Line 882: | Line 1,384: | ||
To resolve this error, provide a value for {{para|title}}, {{para|trans-title}}, and/or {{para|script-title}} or replace the CS1|2 template with a more appropriate template. If you are listing a periodical or an issue of a periodical in a bibliography rather than within {{tag|ref}} tags, {{tlx|List journal}} may be more appropriate. |
To resolve this error, provide a value for {{para|title}}, {{para|trans-title}}, and/or {{para|script-title}} or replace the CS1|2 template with a more appropriate template. If you are listing a periodical or an issue of a periodical in a bibliography rather than within {{tag|ref}} tags, {{tlx|List journal}} may be more appropriate. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_citation_missing_title|pages=yes}}.<ref group="lower-alpha" name="categories" /><section end="citation_missing_title_help_text" /> |
||
==<span id="cite_web_url">Missing or empty |url= </span>== |
==<span id="cite_web_url">Missing or empty |url= </span>== |
||
<section begin=cite_web_url_help_text />{{help desk}} |
<section begin="cite_web_url_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_cite_web_url}} |
||
This error message is reported by {{tlx|cite web}}, {{tlx|cite podcast}}, and {{tlx|cite mailing list}} when the template parameters {{para|url}} and {{para|archive-url}} are both missing, blank or not properly entered. Note that {{para|website}} or {{para|work}} is the name of the site, not the URL. |
This error message is reported by {{tlx|cite web}}, {{tlx|cite podcast}}, and {{tlx|cite mailing list}} when the template parameters {{para|url}} and {{para|archive-url}} are both missing, blank or not properly entered. Note that {{para|website}} or {{para|work}} is the name of the site, not the URL. |
||
Line 891: | Line 1,393: | ||
To resolve this error, provide a value for {{para|url}} or use a more appropriate template such as {{tl|cite book}}, {{tl|cite journal}} or other {{cs1}} or {{cs2}} template. |
To resolve this error, provide a value for {{para|url}} or use a more appropriate template such as {{tl|cite book}}, {{tl|cite journal}} or other {{cs1}} or {{cs2}} template. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_cite_web_url|pages=yes}}.<ref group="lower-alpha" name="categories" /><section end="cite_web_url_help_text" /> |
||
==<span id="missing_pipe">Missing pipe</span>== |
|||
<section begin="missing_pipe_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_missing_pipe|$1=<param>}} |
|||
{{cs1}} and {{cs2}} templates report this error when one parameter has text that looks like it is a parameter missing a pipe (<code>|</code>). This error occurs when a template parameter value contains characters and digits followed by an equal sign. If the alphanumeric text immediately preceding the equal sign is a valid CS1|2 parameter name, the module assumes that the template is missing a pipe and emits this error message. |
|||
Some legitimate titles will contain a CS1|2 parameter name followed by an equal sign. In that case, enclose the equal sign in nowiki tags, like this: {{tag|nowiki|content={{=}}}}. For most other cases, simply add the missing pipe. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_missing_pipe}}.<ref group="lower-alpha" name="categories" /><section end="missing_pipe_help_text" /> |
|||
==<span id="redundant_parameters">More than one of |<param1>=, |<param2>=, and |<param3>= specified</span>== |
==<span id="redundant_parameters">More than one of |<param1>=, |<param2>=, and |<param3>= specified</span>== |
||
<section begin=redundant_parameters_help_text />{{help desk}} |
<section begin="redundant_parameters_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_redundant_parameters|$1=<code class="cs1-code">{{pipe}}<param1>=</code>, <code class="cs1-code">{{pipe}}<param2>=</code>, and <code class="cs1-code">{{pipe}}<param3>=</code>}} |
||
This error occurs when a {{cs1}} or {{cs2}} template includes more than one parameter that maps to the same meaning. For example, {{para|author}}, {{para|last}}, and {{para|last1}} are all synonyms of each other, so no more than one of these parameters should ever be used in a single template. |
This error occurs when a {{cs1}} or {{cs2}} template includes more than one parameter that maps to the same meaning. For example, {{para|author}}, {{para|last}}, and {{para|last1}} are all synonyms of each other, so no more than one of these parameters should ever be used in a single template. |
||
Line 900: | Line 1,411: | ||
To resolve this error, remove or modify the redundant parameter(s). |
To resolve this error, remove or modify the redundant parameter(s). |
||
{{plainlist| |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_redundant_parameters|$1=author-name-list parameters}} |
|||
*<span class="error">More than one of author-name-list parameters specified</span> |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_redundant_parameters|$1=editor-name-list parameters}}}} |
|||
*<span class="error">More than one of editor-name-list parameters specified</span> |
|||
</div> |
|||
This error occurs when a CS1 or CS2 template uses more than one type of author or editor name-list style. There are three kinds of incompatible author-name-list styles: |
This error occurs when a CS1 or CS2 template uses more than one type of author or editor name-list style. There are three kinds of incompatible author-name-list styles: |
||
:{{para|author''n''}} and {{para|last''n''}} / {{para|first''n''}} (and their various aliases), {{para|vauthors}}, and {{para|authors}} |
: {{para|author''n''}} and {{para|last''n''}} / {{para|first''n''}} (and their various aliases), {{para|vauthors}}, and {{para|authors}} |
||
and similarly, three editor-name-list styles: |
and similarly, three editor-name-list styles: |
||
:{{para|editor''n''}} and {{para|editor-last''n''}} / {{para|editor-first''n''}} (and their various aliases) |
: {{para|editor''n''}} and {{para|editor-last''n''}} / {{para|editor-first''n''}} (and their various aliases) as well as {{para|veditors}} |
||
To resolve this error, choose one name-list-style. Use the chosen style for both of the author and editor name-lists. |
To resolve this error, choose one name-list-style. Use the chosen style for both of the author and editor name-lists. |
||
Pages with these errors are automatically placed in {{# |
Pages with these errors are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_redundant_parameters}}.<ref group="lower-alpha" name="categories" /><section end="redundant_parameters_help_text" /> |
||
==<span id="err_extra_text_pages">|page(s)= has extra text</span>== |
|||
<section begin="extra_text_pages_help_text" />{{help desk}} |
|||
{{#invoke:Cs1 documentation support|help_text_error_messages|err_extra_text_pages}} |
|||
The templates are responsible for static text rendered in the citation. When {{para|page}}/{{para|p}}, {{para|pages}}/{{para|pp}}, {{para|quote-page}} or {{para|quote-pages}} is used in a template, cs1|2 inserts the appropriate pagination prefix 'p.' or 'pp.' ahead of the value in the parameter so: |
|||
:{{para|page|123}} |
|||
renders as: |
|||
:p. 123 |
|||
and: |
|||
:{{para|page|123–125}} |
|||
renders as: |
|||
:pp. 123–125 |
|||
The templates emit this error message when various forms of <code>p</code>, <code>pp</code>, <code>pg</code>, <code>pgs</code>, <code>page</code>, or <code>pages</code> are found in the value assigned to {{para|page}}/{{para|p}}, {{para|pages}}/{{para|pp}}, {{para|quote-page}} or {{para|quote-pages}}. |
|||
To resolve this error, remove the extraneous text from the parameter value. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_extra_text_pages}}.<ref group="lower-alpha" name="categories" /><section end="extra_text_pages_help_text" /> |
|||
==<span id="param_access_requires_param">|<param>-access= requires |<param>=</span>== |
|||
<section begin="param_access_requires_param_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_param_access_requires_param|$1=<param>|$2=<param>}} |
|||
This error is reported when an access level has been specified for some external link, but the corresponding required parameter is missing or empty. |
|||
The parameter can be one of |
|||
{| class="wikitable" |
|||
|+ Access-level specifier required parameter |
|||
|- |
|||
! Specifier !! Required parameter |
|||
|- |
|||
| {{para|article-url-access}} || {{para|article-url}} |
|||
|- |
|||
| {{para|bibcode-access}} || {{para|bibcode}} |
|||
|- |
|||
| {{para|chapter-url-access}} || {{para|chapter-url}} |
|||
|- |
|||
| {{para|contribution-url-access}} || {{para|contribution-url}} |
|||
|- |
|||
| {{para|doi-access}} || {{para|doi}} |
|||
|- |
|||
| {{para|entry-url-access}} || {{para|entry-url}} |
|||
|- |
|||
| {{para|hdl-access}} || {{para|hdl}} |
|||
|- |
|||
| {{para|jstor-access}} || {{para|jstor}} |
|||
|- |
|||
| {{para|map-url-access}} || {{para|map-url}} |
|||
|- |
|||
| {{para|ol-access}} || {{para|ol}} |
|||
|- |
|||
| {{para|osti-access}} || {{para|osti}} |
|||
|- |
|||
| {{para|section-url-access}} || {{para|section-url}} |
|||
|- |
|||
| {{para|s2cid-access}} || {{para|s2cid}} |
|||
|- |
|||
| {{para|url-access}} || {{para|url}} |
|||
|} |
|||
To resolve this error, either provide a value for the parameter, or remove the access level specification. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_param_access_requires_param}}.<ref group="lower-alpha" name="categories" /><section end="param_access_requires_param_help_text" /> |
|||
==<span id="embargo_missing_pmc">|pmc-embargo-date= requires |pmc=</span>== |
|||
<section begin="embargo_missing_pmc_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_embargo_missing_pmc|$1=pmc-embargo-date}} |
|||
When {{para|pmc-embargo-date}} is used in a CS1|2 template, {{para|pmc}} or {{para|PMC}} (with value) must also be present. |
|||
To resolve this error, either add the missing PMC or remove the 'broken' parameter. |
|||
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_embargo_missing_pmc}}.<ref group="lower-alpha" name="categories" /><section end="embargo_missing_pmc_help_text" /> |
|||
==<span id="ssrn_missing">|ssrn= required</span>== |
==<span id="ssrn_missing">|ssrn= required</span>== |
||
<section begin=ssrn_missing_help_text />{{help desk}} |
<section begin="ssrn_missing_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_ssrn_missing}} |
||
{{tlx|cite ssrn}} requires the identifier parameter {{para|ssrn}}. |
{{tlx|cite ssrn}} requires the identifier parameter {{para|ssrn}}. |
||
Line 920: | Line 1,501: | ||
To resolve this error, ensure that the template has {{para|ssrn}} with a properly constructed value. |
To resolve this error, ensure that the template has {{para|ssrn}} with a properly constructed value. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_ssrn_missing}}.<ref group="lower-alpha" name="categories" /><section end="ssrn_missing_help_text" /> |
||
==<span id="text_ignored">Text "????" ignored</span>== |
==<span id="text_ignored">Text "????" ignored</span>== |
||
<section begin=text_ignored_help_text />{{help desk}} |
<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 [[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>% |
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>&#124;</code> or <code>{{tl|!}}</code>. |
||
To resolve this error, remove the extraneous text, add '=', add an appropriate parameter name from the template you're using to complete the parameter, or properly encode vertical bars in URLs and titles. |
To resolve this error, remove the extraneous text, add '=', add an appropriate parameter name from the template you're using to complete the parameter, or properly encode vertical bars in URLs and titles. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_text_ignored}}.<ref group="lower-alpha" name="categories" /><section end="text_ignored_help_text" /> |
||
==<span id="trans_missing_title">|trans-<param>= requires |<param>= </span>== |
==<span id="trans_missing_title">|trans-<param>= requires |<param>= or |script-<param></span>== |
||
<section begin=trans_missing_title_help_text />{{help desk}} |
<section begin="trans_missing_title_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_trans_missing_title|$1=<param>|$2=<param>|$3=<param>}} |
||
*<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">|trans-title=</code> requires <code style="color:inherit; border:inherit; padding:inherit;">|title=</code></span> |
|||
*<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">|trans-chapter=</code> requires <code style="color:inherit; border:inherit; padding:inherit;">|chapter=</code></span></div> |
|||
{{cs1}} and {{cs2}} templates report this error when the citation has an English translation of the title in {{para|trans-title}} or chapter title in {{para|trans-chapter}} but does not have the original-language title in {{para|title}} or original-language chapter title in {{para|chapter}}. |
{{cs1}} and {{cs2}} templates report this error when the citation has an English translation of the title in {{para|trans-title}} or chapter title in {{para|trans-chapter}} but does not have the original-language title in {{para|title}} or original-language chapter title in {{para|chapter}}. |
||
Line 942: | Line 1,521: | ||
To resolve this error, provide the original language title for {{para|title}} or chapter title for {{para|chapter}}. Consider adding {{para|language}} if not already part of the citation. |
To resolve this error, provide the original language title for {{para|title}} or chapter title for {{para|chapter}}. Consider adding {{para|language}} if not already part of the citation. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_trans_missing_title}}.<ref group="lower-alpha" name="categories" /><section end="trans_missing_title_help_text" /> |
||
==<span id="parameter_ignored">Unknown parameter |xxxx= ignored<span id="parameter_ignored_suggest"> </span></span>== |
|||
<section begin=parameter_ignored_help_text />{{help desk}}<div class="plainlist"> |
|||
*<span class="error">Unknown parameter <code style="color:inherit; border:inherit; padding:inherit;">|xxxx=</code> ignored</span> |
|||
*<span class="error">Unknown parameter <code style="color:inherit; border:inherit; padding:inherit;">|xxxx=</code> ignored (<code style="color:inherit; border:inherit; padding:inherit;">|yyyy=</code> suggested)</span></div> |
|||
==<span id="parameter_ignored">Unknown parameter |<param>= ignored<span id="parameter_ignored_suggest"> </span></span>== |
|||
<section begin="parameter_ignored_help_text" />{{help desk}}{{plainlist| |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_parameter_ignored|$1=<param>}} |
|||
*{{#invoke:Cs1 documentation support|help_text_error_messages|err_parameter_ignored_suggest|$1=<param>|$2=<sparam>}}}} |
|||
{{cs1}} and {{cs2}} templates report this error when the name portion of a parameter's {{para|name|value}} pair is not recognized as a valid name. Typically, this is caused by spelling or capitalization errors or when a page is reverted to a version where the citation template did support the parameter. |
{{cs1}} and {{cs2}} templates report this error when the name portion of a parameter's {{para|name|value}} pair is not recognized as a valid name. Typically, this is caused by spelling or capitalization errors or when a page is reverted to a version where the citation template did support the parameter. |
||
The CS1|2 engine does not ignore unrecognized parameters. The purpose of the citation is to properly identify the source |
The CS1|2 engine does not ignore unrecognized parameters. The purpose of the citation is to properly identify the source, not to act as a repository of notes and ancillary information. |
||
CS1|2 template parameters are lower case. CS1|2 will report this error when the parameter's name contains uppercase letters ({{!xt|Xxxx, xxXx, XXXX}}) but the parameter's name is defined as lowercase ({{xt|xxxx}}). Some identifier parameters, like {{para|isbn}}, {{para|pmc}}, {{para|doi}}, etc., can be either lower case or upper case, but not of mixed case ({{para|isbn|mxt=y}} or {{para|ISBN|mxt=y}} but not {{para|Isbn|!mxt=y}}). For [[Module:Citation/CS1/Suggestions|common parameter misspellings]], like {{para|pubisher}} instead of {{para|publisher}} and some former template parameters, CS1|2 will suggest a valid parameter name. The [[Help:CS1_errors#deprecated_params|list of deprecated and recently removed parameters]] may contain additional information as well. |
|||
Reported unknown parameters following a {{para|DUPLICATE_<param>}} scheme are created by [[User:Citation bot|Citation Bot]] when it finds duplicate parameters {{para|<param>}} in a template. |
|||
CS1|2 template parameters are lower case. CS1|2 will report this error when the parameter's name contains uppercase letters ({{!xt|Xxxx, xxXx, XXXX}}) but the parameter's name is defined as lowercase ({{xt|xxxx}}). The identifier parameters, like {{para|isbn}}, {{para|pmc}}, {{para|doi}}, etc., can be either lower case or upper case, but not of mixed case ({{xt|{{para|isbn}}}} or {{xt|{{para|ISBN}}}} but not {{!xt|{{para|Isbn}}}}). For [[Module:Citation/CS1/Suggestions|common parameter misspellings]], like {{para|pubisher}} instead of {{para|publisher}}, CS1|2 will suggest a valid parameter name. |
|||
To resolve this error, replace the erroneous parameter name with a correct one, possibly using the suggested name. Ensure that the parameter's name is correctly spelled and that there are no characters except spaces between the parameter's name and the leading vertical bar (|) or trailing equals sign (=). A list of valid parameters can be found by consulting [[Help:Citation Style 1]] or visiting the description page of the specific template being used, such as {{tlx|cite web}}, {{tlx|cite book}}, {{tlx|cite journal}}, etc. Consider moving information associated with the unknown parameter into an appropriate parameter or to a section of the article's talk page for preservation. |
To resolve this error, replace the erroneous parameter name with a correct one, possibly using the suggested name. Ensure that the parameter's name is correctly spelled and that there are no characters except spaces between the parameter's name and the leading vertical bar (|) or trailing equals sign (=). A list of valid parameters can be found by consulting [[Help:Citation Style 1]] or visiting the description page of the specific template being used, such as {{tlx|cite web}}, {{tlx|cite book}}, {{tlx|cite journal}}, etc. Consider moving information associated with the unknown parameter into an appropriate parameter or to a section of the article's talk page for preservation. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_parameter_ignored}}.<ref group="lower-alpha" name="categories" /><section end="parameter_ignored_help_text" /> |
||
==<span id="wikilink_in_url">URL–wikilink conflict</span>== |
==<span id="wikilink_in_url">URL–wikilink conflict</span>== |
||
<section begin=wikilink_in_url_help_text />{{help desk}} |
<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 [[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. |
||
Line 972: | Line 1,553: | ||
To resolve errors in identifier-based citation templates, the template must be edited to correct the error. Exercise caution when editing these templates because identifier-based citation templates are often used in multiple articles. |
To resolve errors in identifier-based citation templates, the template must be edited to correct the error. Exercise caution when editing these templates because identifier-based citation templates are often used in multiple articles. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_wikilink_in_url}}.<ref group="lower-alpha" name="categories" /><section end="wikilink_in_url_help_text" /> |
||
==<span id="vancouver">Vancouver style error</span>== |
==<span id="vancouver">Vancouver style error</span>== |
||
<section begin=vancouver_help_text />{{help desk}} |
<section begin="vancouver_help_text" />{{help desk}}{{#invoke:Cs1 documentation support|help_text_error_messages|err_vancouver|$1=<type>}} |
||
This error is reported for citations that use {{para|vauthors}}, {{para|veditors}}, {{para|name-list- |
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: |
[[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: |
||
:C0 Controls and Basic Latin<ref>{{cite web |
: 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) |
||
:C1 Controls and Latin-1 Supplement<ref>{{cite web |url=https://www.unicode.org/charts/PDF/U0080.pdf | |
: 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 |url=https://www.unicode.org/charts/PDF/U0100.pdf | |
: 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-B<ref>{{cite web |url=https://www.unicode.org/charts/PDF/U0180.pdf | |
: Latin Extended-B<ref>{{cite web |title=Latin Extended-B |website=Unicode |url=https://www.unicode.org/charts/PDF/U0180.pdf |access-date=2015-04-19}}</ref> (0180–01BF, 01C4–024F) |
||
This error is also reported when more than two initials are used: in case of more than two initials, list only the first two. |
This error is also reported when more than two initials are used: in case of more than two initials, list only the first two. |
||
This error is also reported when a corporate or institutional author is listed in {{para|vauthors}} without proper delimiters. Corporate authors should be listed this way: |
This error is also reported when a corporate or institutional author is listed in {{para|vauthors}} without proper delimiters. Corporate authors should be listed this way: |
||
:{{para|vauthors|First Surname FM, Surname AB, {{green|((}}Corporate or institutional Author{{green|))}}, |
: {{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 |
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> |
||
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 |last=Patrias |first= |
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)), ...}} |
||
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. |
||
Specific Rules for Names:<ref>{{cite book |
Specific Rules for Names:<ref>{{cite book |title=Citing Medicine: The NLM Style Guide for Authors, Editors, and Publishers [Internet] |edition=2nd |author-first=Karen |author-last=Patrias |editor-first=Dan |editor-last=Wendling |location=Bethesda, Maryland, USA |publisher=National Library of Medicine |date=2007 |url=https://www.ncbi.nlm.nih.gov/books/NBK7282/ |access-date=2019-03-31}}</ref> |
||
* [https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33071/?report=objectonly Surnames with hyphens and other punctuation in them] |
* [https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33071/?report=objectonly Surnames with hyphens and other punctuation in them] |
||
* [https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33081/?report=objectonly Other surname rules] |
* [https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33081/?report=objectonly Other surname rules] |
||
Line 1,006: | Line 1,587: | ||
* [https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33134/?report=objectonly Names appearing in non-roman alphabets (Cyrillic, Greek, Arabic, Hebrew, Korean) or character-based languages (Chinese, Japanese)] |
* [https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33134/?report=objectonly Names appearing in non-roman alphabets (Cyrillic, Greek, Arabic, Hebrew, Korean) or character-based languages (Chinese, Japanese)] |
||
* [https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33152/?report=objectonly Organizations as author] |
* [https://www.ncbi.nlm.nih.gov/books/NBK7282/box/A33152/?report=objectonly Organizations as author] |
||
** |
** CS1|2 does not obey the semicolon-as-separator rule. Separate corporate and organizational names from each other and from individual names with a comma; wrap corporate and organizational names in doubled parentheses as described above. |
||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_vancouver}}.<ref group="lower-alpha" name="categories" /><section end="vancouver_help_text" /> |
||
==<span id=" |
==<span id="err_extra_text_volume">|volume= has extra text</span>== |
||
<section begin="extra_text_volume_help_text" />{{help desk}} |
|||
<section begin=invisible_char_help_text />{{help desk}}<span class="error"><char> character in <code style="color:inherit; border:inherit; padding:inherit;">|<param>=</code> at position ''n''</span> |
|||
{{#invoke:Cs1 documentation support|help_text_error_messages|err_extra_text_volume}} |
|||
The templates are responsible for static text rendered in the citation. When {{para|volume}} is used in a template, cs1|2 formats the volume value according to the style corresponding with the publication type associated with the used citation template. |
|||
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: |
|||
The templates emit this error message when some form of volume prefix (like "Vol.") is found in the value assigned to {{para|volume}}. |
|||
*[[non-breaking space]], U+00A0 |
|||
*[[soft hyphen]], U+00AD |
|||
*[[replacement character]], U+FFFD |
|||
*[[hair space]], U+200A |
|||
*[[zero width space]], U+200B |
|||
*[[zero width joiner]], U+200D |
|||
*[[horizontal tab]], U+0009 (HT) |
|||
*[[line feed]], U+0010 (LF) |
|||
*[[carriage return]], U+0013 (CR) |
|||
*[[delete character]], U+007F (DEL) |
|||
*[[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) |
|||
To resolve invisible-character errors, remove or replace the identified character. Because these characters are mostly invisible, the error message identifies the character'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. If you move through the citation with the arrow keys then the cursor may stand still once at an invisible character which can be removed with {{keypress|Delete}} or {{keypress|Backspace}}. If you copy-paste a string to the "Characters" field at https://r12a.github.io/app-conversion/ and click "View in UniView" then the position and name of all characters is shown. |
|||
To resolve this error, remove the extraneous text from the parameter value. |
|||
<span class="error"><name> stripmarker in <code style="color:inherit; border:inherit; padding:inherit;">|<param>=</code> at position ''n''</span> |
|||
[[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. |
|||
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. |
|||
Strip marker errors can also be caused by unsupported additional text or templates in parameter values{{mdash}}for example, {{tl|ISBN}} in {{para|title}}. Resolve the problem by moving the extraneous text outside of the citation template or by removing the extraneous text or template markup, as appropriate. |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: invisible characters | Category:CS1 errors: invisible characters | [[:Category:CS1 errors: invisible characters]]}}.<ref group="lower-alpha" name="categories" /><section end=invisible_char_help_text /> |
|||
==<span id="doibroken_missing_doi">|<param>= requires |doi=</span>== |
|||
<section begin=doibroken_missing_doi_help_text />{{help desk}}<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">|<param>=</code> requires {{para|doi|plain=yes}}</span> |
|||
When any of {{para|doi-broken}}, {{para|doi-broken-date}}, or {{para|doi-inactive-date}} are used in a cs1|2 template, {{para|doi}} or {{para|DOI}} (with value) must also be present. |
|||
To resolve this error, either add the missing DOI or remove the 'broken' parameter. |
|||
Pages with this error are automatically placed in {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: DOI | Category:CS1 errors: DOI | [[:Category:CS1 errors: DOI]]}}.<ref group="lower-alpha" name="categories" /><section end=doibroken_missing_doi_help_text /> |
|||
==<span id="param_access_requires_param">|<param>-access= requires |<param>=</span>== |
|||
<section begin=param_access_requires_param_help_text />{{help desk}}<span class="error"><code style="color:inherit; border:inherit; padding:inherit;">|<param>-access=</code> requires <code style="color:inherit; border:inherit; padding:inherit;">|<param>=</code></span> |
|||
This error is reported when an access level has been specified for some external link, but the corresponding required parameter is missing or empty. |
|||
The parameter can be one of |
|||
{| class="wikitable" |
|||
|+access-level specifier required parameter |
|||
|- |
|||
!specifier !! required parameter |
|||
|- |
|||
|{{para|url-access}} || {{para|url}} |
|||
|- |
|||
|{{para|bibcode-access}} || {{para|bibcode}} |
|||
|- |
|||
|{{para|doi-access}} || {{para|doi}} |
|||
|- |
|||
|{{para|hdl-access}} || {{para|hdl}} |
|||
|- |
|||
|{{para|jstor-access}} || {{para|jstor}} |
|||
|- |
|||
|{{para|ol-access}} || {{para|ol}} |
|||
|- |
|||
|{{para|osti-access}} || {{para|osti}} |
|||
|- |
|||
|} |
|||
To resolve this error, either provide a value for the parameter, or remove the access level specification. |
|||
Pages with this error are automatically placed in {{# |
Pages with this error are automatically placed in {{#invoke:cs1 documentation support|help_text_cats|err_extra_text_volume}}.<ref group="lower-alpha" name="categories" /><section end="extra_text_volume_help_text" /> |
||
<!--When moving this section keep the following attached to the Notes section below --><section begin="notes_help_text" /> |
|||
==Notes== |
==Notes== |
||
<!-- When moving this section keep <section begin="notes_help_text"> (located above this section header) attacted --> |
|||
{{reflist |group=lower-alpha |refs= |
{{reflist |group=lower-alpha |refs= |
||
<ref group="lower-alpha" name="categories">Pages in the Book talk, Category talk, Draft talk, Education Program talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, User, User talk, and Wikipedia talk namespaces are not included in the error tracking categories.</ref> |
<ref group="lower-alpha" name="categories">Pages in the Book talk, Category talk, Draft talk, Education Program talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, User, User talk, and Wikipedia talk namespaces are not included in the error tracking categories.</ref> |
||
}}<section end=notes_help_text />< |
}}<section end="notes_help_text" /><!-- |
||
When moving this section keep the following attached to the References section below --><section begin="references_help_text" /> |
|||
==References== |
==References== |
||
<!-- When moving this section keep <section begin="references_help_text"> (located above this section header) attacted --> |
|||
{{reflist |refs= |
{{reflist |refs= |
||
<ref name="archive.org">{{cite web |url=https://archive.org |title=archive.org website | |
<ref name="archive.org">{{cite web |url=https://archive.org |title=archive.org website |website=Internet Archive}}</ref> |
||
<ref name="webcitation.org">{{cite web |url=https://www.webcitation.org |title=webcitation.org website | |
<ref name="webcitation.org">{{cite web |url=https://www.webcitation.org |title=webcitation.org website |website=WebCite}}</ref> |
||
}}<section end=references_help_text /> |
}}<section end="references_help_text" /> |
||
{{Wikipedia referencing}} |
{{Wikipedia referencing}} |
Revision as of 15:11, March 29, 2021
This help page is a how-to guide. It details processes or procedures of some aspect(s) of Wikipedia's norms and practices. It is not one of Wikipedia's policies or guidelines, and may reflect varying levels of consensus and vetting. |
Template:Skip to top and bottom This page describes the error messages reported by the Citation Style 1 and Template:Cs2 citations, what they mean, and how editors might resolve the errors. Category:CS1 errors is the general errors category and Category:CS1 maintenance is the general maintenance category.
Errors issued by Wikipedia's <ref>
system, in which citation templates are typically embedded, can be found at Help:Cite errors.
Controlling error message display
By default, Citation Style 1 and Template: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 CSS page or your specific skin's CSS page (common.css and skin.css respectively):
.mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */
To display hidden-by-default error messages:
.mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden Citation Style 1 error messages */
Even with this CSS installed, older pages in Wikipedia's cache may not have been updated to show these error messages even though the page is listed in one of the tracking categories. A null edit will resolve that issue.
To hide normally-displayed error messages:
.mw-parser-output span.cs1-visible-error {display: none;} /* hide Citation Style 1 error messages */
You can personalize the display of these messages (such as changing the color), but you will need to ask someone who knows CSS or at the technical village pump if you do not understand how.
Most common errors
- #Cite <template> requires |<param>=, ~56k pages
- #Citation without a title of any form, ~40k pages
- #Bare URL without a title, ~28k pages
- #Check date values in: |<param1>=, |<param2>=, ..., ~13k pages
- #External link in |<param>=, ~12k pages
- #Missing or empty |url=, ~9k pages
|access-date= requires |url=
Template:Help desk|access-date=
requires |url=
The |access-date=
(or its alias, |accessdate=
) is the date that the online resource addressed by |url=
was added to the article. If |access-date=
has been included in the citation without |url=
then this message appears. If the citation does not use a web link, then |access-date=
is redundant and should be removed.
When the online resource has a publication or other fixed date associated with it, |access-date=
is of limited value though may be useful in identifying an appropriate archived version of the resource. Without |url=
, |access-date=
is not considered useful.
To resolve this error, provide a value for |url=
or remove |access-date=
. Editors should try to determine why the citation has |access-date=
without |url=
. For example, the citation may never have had a |url=
, or |url=
may have been removed because it links to a site that violates the creator's copyright (see WP:COPYLINK), or because |url=
was deemed to be dead. If the citation never had |url=
or it was removed for copyright violations, remove |access-date=
. When a dead |url=
has been removed, restore the |url=
and if possible repair it (see WP:LINKROT).
Pages with this error are automatically placed in Category:CS1 errors: access-date without URL (0 pages).[a]
|archive-url= is malformed
Template:Help desk|archive-url=
is malformed: <reason>
Archive.org allows a variety of URLs to access snapshots of an archived page. Some of these are:
https://web.archive.org/web/YYYYMMDD
– a single snapshot; this is the preferred form for use withhhmmss/http://www.example.com |archive-url=
https://web.archive.org/web/*/http://
– a wildcard search results page; useful for locating an appropriate snapshot but not appropriate in a citationwww.example.com https://web.archive.org/web/
– incomplete timestamp; archive.org returns the most recent snapshot201603/http://www.example.com https://web.archive.org/save/http://
– saves a new snapshot of the current target; do not use this formwww.example.com
There are two forms of the basic URL:
https://web.archive.org/<timestamp>/...
– the old formhttps://web.archive.org/web/<timestamp><flags>/...
– the new form
The error message identifies the reason for the message. The reasons are:
- save command – the archive.org URL is the save command
- path – web/ was expected but something else was found
- timestamp – the timestamp portion of the URL path is not 14 digits
- flag – the flag portion of the URL path (if present; new form URLs only) is not 2 lowercase letters followed by an underscore: 'id_'
- liveweb –
liveweb.archive.org
is a deprecated form of the domain name
When the archive.org URL has any of these errors, Module:Citation/CS1 does not link to archive.org and emits an appropriate error message.
To resolve this error, choose the URL of an appropriate snapshot from those held at archive.org. Search for the target URL.
Pages with this error are automatically placed in Category:CS1 errors: archive-url.[a]
|archive-url= requires |archive-date=
Template:Help desk|archive-url=
requires |archive-date=
|archive-date=
(or its alias, |archivedate=
), identifies the date that the web resource was archived.
To resolve this error, provide a value for |archive-date=
(see acceptable date formats in MOS:DATEFORMAT). For web resources archived at archive.org,[1] the archival date can be found in the |archive-url=
; for resources archived at webcitation.org,[2] the cache date is included in the archive header.
Pages with this error are automatically placed in Category:CS1 errors: archive-url.[a]
|archive-url= requires |url=
Template:Help desk|archive-url=
requires |url=
A properly formatted citation that includes |archive-url=
and |archive-date=
requires |url=
. When the citation includes |url-status=live
, the ordering of elements in the rendered citation is changed to put the original URL first.
To resolve this error, provide a value for |url=
. For web resources archived at archive.org,[1] the original URL can be found in the |archive-url=
value; for resources archived at webcitation.org,[2] the original URL is included in the archive header.
Pages with this error are automatically placed in Category:CS1 errors: archive-url.[a]
|arxiv= required
Template:Help desk|arxiv=
required
{{cite arXiv}}
requires one, but not both, of the identifier parameters |arxiv=
or |eprint=
to specify an arXiv identifier.
To resolve this error, ensure that the template has |arxiv=
or |eprint=
with a properly constructed value.
Pages with this error are automatically placed in Category:CS1 errors: arXiv.[a]
|asin-tld= requires |asin=
Template:Help desk|asin-tld=
requires |asin=
When |asin-tld=
is used in a CS1|2 template, |asin=
or |ASIN=
(with value) must also be present.
To resolve this error, either add the missing ASIN or remove the 'broken' parameter.
Pages with this error are automatically placed in Category:CS1 errors: ASIN TLD.[a]
|biorxiv= required
Template:Help desk|biorxiv=
required
{{cite bioRxiv}}
requires the identifier parameter |biorxiv=
.
To resolve this error, ensure that the template has |biorxiv=
with a properly constructed value.
Pages with this error are automatically placed in Category:CS1 errors: bioRxiv.[a]
|chapter= ignored
Template:Help desk|chapter=
ignored
Citation Style 1 templates {{cite web}}
, {{cite news}}
, {{cite journal}}
, {{cite press release}}
, {{cite podcast}}
, {{cite newsgroup}}
, as well as template {{citation}}
when it uses |work=
or any of its aliases, do not support |chapter=
or the aliases |contribution=
, |entry=
, |article=
, or |section=
.
To resolve this error:
- use a more appropriate citation template, or
- place the content of the
|chapter=
parameter in|title=
, or - for {{cite news}},
|department=
can be used to give the name of the newspaper's section, such as "Obituaries", or - for {{citation}}, remove
|work=
or its aliases such as|website=
and place their content in|title=
if appropriate
Pages with this error are automatically placed in Category:CS1 errors: chapter ignored.[a]
<char> character in |<param>= at position n
Template:Help desk<char> character in |<param>=
at position n
This error is reported for citations with parameter values that contain invisible or non-printable characters known as control characters; 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
- soft hyphen, U+00AD
- replacement character, U+FFFD
- hair space, U+200A
- zero width space, U+200B
- zero width joiner, U+200D
- horizontal tab, U+0009 (HT)
- line feed, U+0010 (LF)
- carriage return, U+0013 (CR)
- delete character, U+007F (DEL)
- C0 control, U+0000–U+001F (NULL–US)
- 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.
Because these characters are mostly invisible, the error message identifies the character'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. If you move through the citation with the arrow keys then the cursor may stand still once at an invisible character, which can be removed with Template:Keypress or Template:Keypress. If you copy-paste a string to the "Characters" field at https://r12a.github.io/app-conversion/ and click "View in UniView" then the position and name of all characters is shown.
<name> stripmarker in |<param>=
at position n
Strip markers are special sequences of characters that MediaWiki inserts as a place-holder for certain xml-like tags. These tags include <gallery>...</gallery>
, <math>...</math>
, <nowiki>...</nowiki>
, <pre>...</pre>
, and <ref>...</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.
Strip marker errors can also be caused by unsupported additional text or templates in parameter valuesTemplate:Mdashfor example, {{ISBN}} in |title=
. Resolve the problem by moving the extraneous text outside of the citation template, or by removing the extraneous text or template markup, as appropriate.
Pages with this error are automatically placed in Category:CS1 errors: invisible characters.[a]
Check |arxiv= value
Template:Help deskCheck |arxiv=
value
When Citation Style 1 and Template:Cs2 templates contain |arxiv=
, a test is done to see if the arXiv identifier conforms with the arXiv identifier scheme.[3] 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 |arxiv=
value is correct.
Pages with this error are automatically placed in Category:CS1 errors: arXiv.[a]
Check |asin= value
Template:Help deskCheck |asin=
value
When Citation Style 1 and Template:Cs2 templates contain |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.
To resolve this error, ensure that the |asin=
value is correct.
If the |asin=
value is correct and all-numeric, use |isbn=
instead and delete any |asin-tld=
parameters. Articles with CS1 citations that use |asin=
with all numeric values are categorized in Category:CS1 maint: ASIN uses ISBN.
Pages with this error are automatically placed in Category:CS1 errors: ASIN.[a]
Check |asin-tld= value
Template:Help deskCheck |asin-tld=
value
Citation Style 1 and Template:Cs2 templates contain a test for known |asin-tld=
values to specify the top-level domain of a given ASIN identifier link. The list of currently supported values is:
ae
, au
, br
, ca
, cn
, de
, es
, fr
, in
, it
, jp
, mx
, nl
, pl
, sa
, se
, sg
, tr
, uk
It is not necessary to provide |asin-tld=
to specify the default (United States). If you want to specify this condition explicitly, a pseudo-value of us
can be given to denote this.
All these values are automatically resolved to the correct TLD following one of the schemes nn
, com.nn
, co.nn
, z.nn
, and com
.
If an unsupported value is encountered, the template will issue this error message.
To resolve this error, ensure that the |asin-tld=
value is correct.
If the value is correct, please report this at Help talk:Citation Style 1, so that it can be added to the list of supported values.
Pages with this error are automatically placed in Category:CS1 errors: ASIN TLD.[a]
Check |bibcode= <message>
Template:Help deskCheck |bibcode=
<message>
When Citation Style 1 and Template:Cs2 templates contain |bibcode=
, a test is done to see if the bibcode identifier has the proper format.[4] Bibcodes are expected to match these requirements:
- length must be 19 characters (<message> = 'length')
- characters in position(s): (except as specified otherwise, violations produce 'value' in the <message> portion of the error message):
- 1–4 must be digits and must represent a year in the range of 1000 – next year (<message> = 'year')
- 5 must be a letter
- 6–8 must be a letter, ampersand, or dot (ampersand cannot directly precede a dot; &. (<message> = 'journal'))
- 9 must be a letter or dot
- 10–18 must be a letter, digit, or dot
- 19 must be a letter or dot
To resolve this error, ensure that the |bibcode=
value is correct.
Pages with this error are automatically placed in Category:CS1 errors: bibcode.[a]
Check |biorxiv= value
Template:Help deskCheck |biorxiv=
value
When Citation Style 1 and Template:Cs2 templates contain |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:
- six numeric characters without punctuation or spaces:
|biorxiv=10.1101/######
######
– 6-digit bioRxiv identifier
- ymd format date prefix followed by six numeric characters without punctuation or spaces followed by optional version:
|biorxiv=10.1101/yyyy.mm.dd.######v#
where:yyyy.mm.dd.
– represents a date no earlier than 11 December 2019 (2019.12.11.
) and no later than tomorrow's date; date must be a valid date######
– 6-digit bioRxiv identifierv#
– optional version indicator
A common error is to include the bioRxiv URL (https://dx.doi.org/10.1101/######}}
).
To resolve this error, ensure that the |biorxiv=
value is correct.
Pages with this error are automatically placed in Category:CS1 errors: bioRxiv.[a]
Check |citeseerx= value
Template:Help deskCheck |citeseerx=
value
When Citation Style 1 and Template:Cs2 templates contain |citeseerx=
, a test is done to see if the CiteSeerX identifier has the proper format.
The expected identifier is the value assigned to the ?doi=
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 |doi=
.)
For instance, if you want to link to http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.220.7880
, use |citeseerx=10.1.1.220.7880
.
Pages with this error are automatically placed in Category:CS1 errors: citeseerx.[a]
Check date values in: |<param1>=, |<param2>=, ...
Template:Help deskCheck date values in: |<param1>=
, |<param2>=
, ...
When Citation Style 1 and Template:Cs2 templates contain date-holding parameters, an automated test is done to see if the dates are real dates that comply with a subset of the date rules in Wikipedia's Manual of Style, specifically checking for violations of MOS:DATEFORMAT.
To resolve this error, ensure that the date is an actual date and that the date format follows the Wikipedia Manual of Style's guidance on dates in the named parameter. See examples of unacceptable dates and how to fix them, below. Or, some conceptual issues to look for:
- impossible dates, such as 29 February 2011 (2011 was not a leap year)
|access-date=
must specify a day, not just a month or year.- misplaced, incorrect, or extraneous punctuation
- extraneous text
- hyphens or slashes instead of en dashes in date ranges (en dashes are required)
- misspelling or improper capitalization (see MOS:ALLCAPS for more detail that is not in Wikipedia Manual of Style's guidance on dates)
- other unacceptable date formats listed in MOS:BADDATEFORMAT
- more than one date in a date-holding parameter
- years before 100 AD, including BCE/BC dates. Try using parameter
|orig-date=
instead.
See Help: Citation Style 1 for information about limitations in the CS1 citation templates' handling of date formats. The MOS section on date ranges describes how to separate dates in a date range. Do not use
, –
, or {{spaced ndash}}
as these corrupt the metadata. To add an en dash, use the CharInsert edit tool or see Wikipedia:How to make dashes. You may also use this one: –. A bot is often able to correct the separator, provided the overall format is unambiguous.
Future dates in |date=
in CS1|2 citations are limited to current year + 1; that is, for 2024, citation dates in 2025 are acceptable but citation dates in 2026 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.
The access date (in |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.
Pages with this error are automatically placed in Category:CS1 errors: dates.[a]
Issue | Unacceptable | Acceptable |
---|---|---|
Hyphen in date range (use en dash) | |date=2002-2003 |
|date=2002Template:Green2003
|
Slash in date range (use en dash) | |date=2002/2003 or |date=July/August 2003 |
|date=2002Template:Green2003 or |date=JulyTemplate:GreenAugust 2003
|
Hyphen in date range (use en dash) | |date=April-May 2004 |
|date=AprilTemplate:GreenMay 2004
|
Missing space around en dash for range of full dates | |date=April 2003–May 2004 |
|date=April 2003 Template:Green May 2004
|
Month capitalization | |date=28 february 1900 |
|date=28 Template:Greenebruary 1900
|
Month capitalization | |date=28 FEBRUARY 1900 |
|date=28 FTemplate:Green 1900
|
Season capitalization | |date=spring 2011 |
|date=Template:Greenpring 2011
|
Future date (typo) | |date=2102 |
|date=2Template:Green2
|
Access date in future (see note above) | |access-date=Template:Day+1, 2024 |
|access-date=Template:Currentmonthday, 2024
|
Access date impossibly far in the past (typo) | |access-date=1 January 2001 |
|access-date=1 January 20Template:Green
|
Access date only specifies month | |access-date=January 2015 |
|access-date=Template:Green 2015
|
Ambiguous date range or year and month | |date=2002-03 |
|
Bad abbreviation | |date=Febr. 28, 1900 |
|
Nonexistent date | |date=February 29, 1900 |
|
Undated | |date=Undated |
|date=Template:Green
|
Comma in month and year | |date=February, 1900 |
|date=February 1900
|
Comma in season | |date=Winter, 1900–1901 |
|date=Winter 1900–1901
|
Missing comma in format which requires it | |date=February 28 1900 |
|date=February 28Template:Green 1900 or |date=28 February 1900
|
Non-date text | |date=2008, originally 2000 |
|date=2008 Template:Green
|
Zero-padding | |date=January 04, 1987 |
|date=January Template:Green, 1987
|
Date with slashes | |date=12/6/87 |
|
Two-digit year | |date=87-12-06 |
|date=Template:Green87-12-06
|
One-digit month or day | |date=2007-3-6 |
|date=2007-Template:Green-Template:Green
|
Wikified date | |date=[[April 1]], [[1999]] |
|date=Template:Green
|
"mm-dd-yyyy" or "dd-mm-yyyy" date format | |date=07-12-2009 |
|date=Template:Green 2009 or |date=Template:Green 2009 or |date=Template:Green 2009 or |date=Template:Green 2009
|
Approximate or uncertain dates | |date=circa 1970 or |date={{circa}} 1970 |
|date=Template:Green 1970
|
Check |doi= value
Template:Help deskCheck |doi=
value
When Citation Style 1 and Template:Cs2 templates contain |doi=
, a test is done to see if the prefix portion of the DOI value is correctly formatted and has what appears to be a valid registrant code. A proper DOI prefix begins with the 10.
directory indicator. The remaining portion of the prefix is a string of digits and the dot character which form the registrant code. When the directory indicator is 10.
, the CS1|2 templates test for a valid registrant code. Valid registrant codes:
- must be composed of digits
- must be in the range:
- 1000–9999
- 10000–49999
- may have one or more subcodes that begin with a dot followed by digits (1000.10)
- must not be 5555 (invalid/temporary/test)
Additionally, the |doi=
value is checked to make sure that it does not contain spaces, en dashes, does not end with punctuation. Further validation of the DOI is not performed.
Do not include the https://doi.org/
scheme and domain name from a URL. A proper |doi=
value looks like |doi=10.1103/PhysRevLett.80.904
.
To resolve this error, ensure that the |doi=
value is correct.
In very rare cases, publishers have released works with a DOI deviating from the standard form. If you are certain that such a non-conforming DOI truly corresponds to the published work, then you can add accept-this-as-written markup around the identifier to suppress the error message. (Do not use this markup for DOIs, which are inactive rather than non-conforming. Instead, use |doi-broken-date=
for them.)
Pages with this error are automatically placed in Category:CS1 errors: DOI.[a]
Check |hdl= value
Template:Help deskCheck |hdl=
value
When Citation Style 1 and Template:Cs2 templates contain |hdl=
, a test is done to see if the hdl value looks like a properly defined value. The |hdl=
value is checked to make sure that it does not contain spaces or en dashes and does not end with punctuation. Further validation of the hdl is not performed.
To resolve this error, ensure that the |hdl=
value is correct.
Pages with this error are automatically placed in Category:CS1 errors: HDL.[a]
Check |isbn= value
Template:Help deskCheck |isbn=
value: <type>
Citation Style 1 and Template:Cs2 templates that contain |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 |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 |id={{ISBN|...}}
instead.)
The error message <type> indicator can be:
- length – ISBN is not 10 or 13 digits
- checksum – ISBN has one or more incorrect digits; look for typos and transposition
- invalid character – ISBN has one or more 'digits' that is not in the allowed set appropriate to ISBN length
- invalid prefix – 13-digit ISBNs must begin with '978' or '979'
- invalid form – 10-digit ISBNs with the mis-positioned 'X' character
- invalid group id – 13-digit ISBN begins with '9790'; this prefix / group ID combination is reserved to ISMN
To resolve this error, ensure that the |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'.
- Do not try to resolve the error by simply recalculating the check digit. The check digit is there to check whether the main part of the number is correct. If the ISBN is failing to validate, it is likely that there is a typo in the main part of the number. In this case, recalculating the check digit results in an apparently valid ISBN that leads to the wrong source (or to nowhere).
- If you only have a 10-digit ISBN, do use the number as-is, do not try to convert it to the 13-digit form.
- If the ISBN as printed in your source is refusing to validate, do check both the front matter and the book cover for ISBNs. It is not uncommon for the ISBN to be misprinted in the front matter but correct on the cover.
- Do preview your edit and check that the new ISBN does now link to the correct source.
In very rare cases, publishers have released books with malformed ISBNs. If you are certain that a non-conforming ISBN truly corresponds to the published work, then you can add accept-this-as-written markup around the identifier to suppress the error message. In many cases, books may have been reissued with a corrected ISBN. Use a corrected ISBN when possible.
Sometimes there are numbers assigned to |isbn=
that appear to be legitimate – length is right, check digit is correct – but that aren't true ISBN numbers. This tool may be helpful.
See also Wikipedia:ISBN.
Pages with this error are automatically placed in Category:CS1 errors: ISBN.[a]
Check |ismn= value
Template:Help deskCheck |ismn=
value
Citation Style 1 and Template:Cs2 templates that contain |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 |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 |id={{ISMN|...}}
instead.)
To resolve this error, ensure that the |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.
Pages with this error are automatically placed in Category:CS1 errors: ISMN.[a]
Check |issn= value
- Check
|issn=
value - Check
|eissn=
value
Citation Style 1 and Template:Cs2 templates that contain |issn=
and/or |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 |issn=
and |eissn=
values are included in the citation's COinS metadata. See also Wikipedia:COinS. (If relevant, they can be specified using |id={{ISSN|...}} {{EISSN|...}}
instead.)
The ISSN and eISSN are always rendered as two four-digit numbers separated with a hyphen.
To resolve this error, ensure that the |issn=
and |eissn=
values are correct, that only one value per parameter is used, and that no other text is included (allowable characters are 0–9, X, and -). If the check-digit is a lowercase 'x', change it to an uppercase 'X'.
In very rare cases, publishers have released works with a malformed identifier. If you are certain that a non-conforming identifier truly corresponds to the published work, then you can add accept-this-as-written markup around the identifier to suppress the error message. In some cases, works may have been reissued with a corrected identifier. Use the corrected one when possible.
Pages with this error are automatically placed in Category:CS1 errors: ISSN.[a]
Check |jfm= value
Template:Help deskCheck |jfm=
value
When Citation Style 1 and Template:Cs2 templates contain |jfm=
, a test is done to see if the JFM identifier value looks like a properly defined value. The |jfm=
identifier is checked to make sure that it has the form: nn.nnnn.nn
where n
is any digit 0–9. Further validation of the JFM identifier is not performed.
To resolve this error, ensure that the |jfm=
value is correct.
Pages with this error are automatically placed in Category:CS1 errors: JFM.[a]
Check |jstor= value
Template:Help deskCheck |jstor=
value
When Citation Style 1 and Template:Cs2 templates contain |jstor=
, a test is done to see if the 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 (http://
or https://
), or has any space characters.
To resolve this error, ensure that the |jstor=
value is correct.
Pages with this error are automatically placed in Category:CS1 errors: JSTOR.[a]
Check |lccn= value
Template:Help deskCheck |lccn=
value
The |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.
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.[5]
Length | Description |
---|---|
8 | all characters are digits |
9 | first character is a lower case letter |
10 | first two characters are either both lower case letters or both digits |
11 | first character is a lower case letter, second and third characters are either both lower case letters or both digits |
12 | first two characters are both lower case letters |
Further validation is not performed.
To resolve this error, ensure that the |lccn=
value is correct and that there are no other letters, punctuation, or other characters.
When receiving this error, be on the lookout for publishers who omitted leading zeros in the LCCN following the two or four digit year. For example, an LCCN that is properly 92-035427 could be shortened in the printed work to 92-35247. When experimenting with inserting omitted zeroes, cross-check the finished number against the LCCN permalinks online.
Pages with this error are automatically placed in Category:CS1 errors: LCCN.[a]
Check |message-id= value
Template:Help deskCheck |message-id=
value
The |message-id=
parameter holds the unique identifier associated with a netnews message.[6] The value in |message-id=
is checked to make sure that it contains @
between left and right identifiers. |message-id=
is also checked to make sure that the first character is not <
and the last character is not >
. Module:Citation/CS1 adds the URI scheme news:
to the value in |message-id=
. If the value in |message-id=
is wrapped in <...>
characters, the link created fails.
Further validation is not performed.
To resolve this error, ensure that the |message-id=
value is correct, that it contains @
and is not wrapped in <...>
characters.
Pages with this error are automatically placed in Category:CS1 errors: message-id.[a]
Check |mr= value
Template:Help deskCheck |mr=
value
When Citation Style 1 and Template:Cs2 templates contain |mr=
, a test is done to see if the MR identifier value looks like a properly defined value. The |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 |mr=
value is correct.
Pages with this error are automatically placed in Category:CS1 errors: MR.[a]
Check |oclc= value
Template:Help deskCheck |oclc=
value
The |oclc=
parameter is for the OCLC identifier. Only a single OCLC identifier is allowed. (If relevant, multiple OCLCs can be specified using |id={{OCLC|...}}
instead.)
The identifier must be in one of these forms:
- prefix
ocm
followed by 8 digits - prefix
ocn
followed by 9 digits - prefix
on
followed by 10 (or more) digits - prefix
(OCoLC)
followed by a variable number of digits without leading zeros - 1 to 10 (or more) digits without prefix
Further validation is not performed.
To resolve this error, ensure that the |oclc=
value is correct.
If the value is correct and larger than the currently configured limit of 9999999999, 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 |oclc=
.
Pages with this error are automatically placed in Category:CS1 errors: OCLC.[a]
Check |ol= value
Template:Help deskCheck |ol=
value
The |ol=
parameter is for the Open Library identifier. The identifier is one or more digits followed by a last character that is either A
(authors), M
(books), or W
(works). Further validation is not performed.
To resolve this error, ensure that the |ol=
value is correct. Do not include "OL" in the value.
Pages with this error are automatically placed in Category:CS1 errors: OL.[a]
Check |osti= value
Template:Help deskCheck |osti=
value
The |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 23010000. Further validation is not performed.
A common error is to include the OSTI URL (https://dx.doi.org/10.2172/<OSTI>
), or the OSTI DOI (10.2172/<OSTI>
).
To resolve this error, ensure that the |osti=
value is correct.
If the value is correct and lower than 1018 or larger than the currently configured limit of 23010000, please report this at Help talk:Citation Style 1, so that the limit can be updated.
Pages with this error are automatically placed in Category:CS1 errors: OSTI.[a]
Check |<param>-link= value
- Check
|
value<param>-link
= - Check
|
value<param>
=
These link-holding parameters and their matching title-holding parameters are combined to create a working wikilink to a related article.
|author-link=
|contributor-link=
|editor-link=
|episode-link=
|interviewer-link=
|series-link=
|subject-link=
|title-link=
|translator-link=
|author=
|contributor=
|editor=
|episode=
|interviewer=
|series=
|subject=
|title=
|translator=
(Parameters checked for this error may also be of the form |author-linkn=
or |authorn-link=
.)
This error occurs when any of these |<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 _
(underscore), used as a replacement for spaces, and #
, used as a fragment identifier when linking to article sections). The prohibited characters are: < > [ ] | { }
.
The |<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 |<param>-link=
parameter values for wikimarkup and for a URI scheme (http://
, https://
, the protocol relative scheme //
, etc.). Interlanguage links in any of the |<param>-link=
parameters require a leading colon:
:fr:Période d'exil de Caravage
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:
[[fr:Période d'exil de Caravage]]
do not create visible clickable links in the article text. Instead, these links appear in the left pane in the languages list. Module:Citation/CS1 disables interlanguage links in this form and emits an error message. The correct form is:
[[:fr:Période d'exil de Caravage]]
This error can also be caused when there is a |<param>-link=
value and the matching |<param>=
parameter contains a wikilink.
To resolve this error, do one of the following:
- Ensure that the
|<param>-link=
value is the full name of a Wikipedia article (without brackets) or a section of an article, and not a link to an external web site. - Make sure that there are no wikilinks in the matching
|<param>=
parameters. - If you want to link to a URL outside of Wikipedia, move the link to
|url=
or a similar parameter, if one is available in the template you are using.
Pages with this error are automatically placed in Category:CS1 errors: parameter link.[a]
Check |pmc= value
Template:Help deskCheck |pmc=
value
The |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 10300000 and that the identifier contains only digits. Further validation is not performed.
To resolve this error, ensure that the |pmc=
value is correct, and that there are no letters, punctuation, or other characters. Do not include "PMC" in the value.
If the value is correct and larger than the currently configured limit of 10300000, please report this at Help talk:Citation Style 1, so that the limit can be updated.
Pages with this error are automatically placed in Category:CS1 errors: PMC.[a]
Check |pmid= value
Template:Help deskCheck |pmid=
value
The |pmid=
parameter is for the PubMed identifier. PMIDs are checked to ensure that the identifier is a simple number without punctuation or spaces with a value between 1 and 37400000. Further validation is not performed.
To resolve this error, ensure that the |pmid=
value is correct. If you find something that looks like a PMID and begins with "PMC", use |pmc=
instead of |pmid=
.
If the value is correct and larger than the currently configured limit of 37400000, please report this at Help talk:Citation Style 1, so that the limit can be updated.
Pages with this error are automatically placed in Category:CS1 errors: PMID.[a]
Check |rfc= value
Template:Help deskCheck |rfc=
value
The |rfc=
parameter is for the Internet Engineering Task Force (IETF) 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 9300. Further validation is not performed.
To resolve this error, ensure that the |rfc=
value is correct.
If the value is correct and larger than the currently configured limit of 9300, please report this at Help talk:Citation Style 1, so that the limit can be updated.
Pages with this error are automatically placed in Category:CS1 errors: RFC.[a]
Check |sbn= value
Template:Help deskCheck |sbn=
value: <type>
Citation Style 1 and Template:Cs2 templates that contain |sbn=
are checked to ensure that the 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 |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.
The error message <type> indicator can be:
- length – SBN is not 9 digits
- checksum – SBN has one or more incorrect digits; look for typos and transposition
- invalid character – SBN has one or more 'digits' that is not in the allowed set
- invalid form – mis-positioned 'X' check digit
To resolve this error, ensure that the |sbn=
value is correct, that only one SBN is used, that the proper optional separators are used, and that no other text is included. If the check digit is a lowercase 'x', change it to an uppercase 'X'.
- Do not try to resolve the error by simply recalculating the check digit. The check digit is there to check whether the main part of the number is correct. If the SBN is failing to validate, it is likely that there is a typo in the main part of the number. In this case, recalculating the check digit results in an apparently valid ISBN that leads to the wrong source (or to nowhere).
- If the SBN as printed in your source is refusing to validate, do check both the front matter and the book cover for SBNs. It is not uncommon for the SBN to be misprinted in the front matter but correct on the cover.
- Do preview your edit and check that the new SBN does now link to the correct source.
In very rare cases, publishers have released books with malformed SBNs. If you are certain that a non-conforming SBN truly corresponds to the published work, then you can add accept-this-as-written markup around the identifier to suppress the error message. In many cases, books may have been reissued with a corrected SBN. Use a corrected SBN when possible.
Pages with this error are automatically placed in Category:CS1 errors: SBN.[a]
Check |ssrn= value
Template:Help deskCheck |ssrn=
value
The |ssrn=
parameter is for the 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 4500000. Further validation is not performed.
To resolve this error, ensure that the |ssrn=
value is correct.
If the value is correct and larger than the currently configured limit of 4500000, please report this at Help talk:Citation Style 1, so that the limit can be updated.
Pages with this error are automatically placed in Category:CS1 errors: SSRN.[a]
Check |s2cid= value
Template:Help deskCheck |s2cid=
value
The |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 260000000. Further validation is not performed.
To resolve this error, ensure that the |s2cid=
value is correct.
If the value is correct and larger than the currently configured limit of 260000000, please report this at Help talk:Citation Style 1, so that the limit can be updated.
Pages with this error are automatically placed in Category:CS1 errors: S2CID.[a]
Check |url= value
Template:Help deskCheck |url=
value
External links in Citation Style 1 and Template:Cs2 templates are made from two parts: the title (|title=
, |chapter=
, etc.) and the URL (|url=
, |archive-url=
, |chapter-url=
, |lay-url=
, etc.). The |url=
parameter and other URL parameters must begin with a supported URI scheme. The URI schemes http://
, https://
and the protocol relative scheme //
are most commonly used; irc://
, ircs://
, ftp://
, news:
, mailto:
and gopher://
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 //
). If there are no spaces and the URL is not protocol relative, then the scheme must comply with RFC 3986.[7]
Top- and second-level domain names are checked for proper form. Generally, top-level domain names must be two or more letters; second-level domain names must be two or more letters, digits, or hyphens (first and last character must be a letter or digit). Single-letter second-level domains are supported for:
- all cc TLDs (the country code is not validated)
- the .org TLD
- certain letters of the .com TLD (q, x, z)
- certain letters of the .net TLD (i, q)
Third- and subsequent-level domain names are not checked. The path portion of the URL is not checked.
To resolve this error, ensure that |url=
and other URL parameters contain valid URLs. Online tools are available to internationalize URLs that are written in non-Latin scripts:
- "IDN Conversion Tool". Verisign.
Pages with this error are automatically placed in Category:CS1 errors: URL.[a]
Check |zbl= value
Template:Help deskCheck |zbl=
value
When Citation Style 1 and Template:Cs2 templates contain |zbl=
, a test is done to see if the Zbl identifier value looks like a properly defined value. The |zbl=
identifier is checked to make sure that it has the form: nnnn.nnnnn
where n
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 |zbl=
value is correct.
Pages with this error are automatically placed in Category:CS1 errors: Zbl.[a]
Cite has empty unknown parameter: <param>
- Cite has empty unknown parameter:
|<param>=
- Cite has empty unknown parameters:
|<param1>=
,|<param2>=
, ...
This error message is hidden. To show this error message see Controlling error message display.
This error message highlights CS1|2 templates that hold empty parameters with names that are not known to CS1|2. This error message is a companion to Unknown parameter |xxxx= ignored.
Empty positional parameters, which typically look like two adjacent pipes in a template, | |
, or a pipe and then the end of the template, |}}
, are identified as numbered parameters: |1=
. Similarly, a pipe followed by an HTML comment that encloses everything before the next pipe or closing brace, | <!--<param name/value pair>--> |
will be identified as an empty numbered parameter. Parameters that have both a pipe and an equal sign but do not have a name are identified as empty-string parameters: |=
or | =
→ |(empty string)=
. Various templates that wrap CS1|2 templates may cause this error when they use constructs like this: |{{#if:{{{2|}}}|title}}={{{2|}}}
. When {{{2|}}}
does not have a value, the template creates |=
.
To resolve this error, remove the extra pipe, correct the parameter name, or remove the parameter from the CS1|2 template.
Pages with this error are automatically placed in Category:CS1 errors: empty unknown parameters.[a]
Cite <template> requires |<param>=
Template:Help deskCite <template> requires |<param>=
This error message is hidden. To show this error message see Controlling error message display.
These CS1 periodical templates require a periodical parameter. The periodical templates are:
{{cite journal}}
{{cite magazine}}
The error message suggests a periodical parameter that matches the template, but there is no requirement to use the suggested parameter; any one of these periodical parameters may be used:
|journal=
|magazine=
|newspaper=
|periodical=
|website=
|work=
In some cases, an incorrect template has been used (e.g. {{cite journal}}
for a web page, book, or standalone document). The appropriate resolution in these cases is to change the incorrect template to {{cite web}}
, {{cite book}}
, or a different, more appropriate template.
Pages with this error are automatically placed in Category:CS1 errors: missing periodical.[a]
Cite uses deprecated parameter |<param>=
Template:Help deskCite uses deprecated parameter |<param>=
Over time, some parameters have become obsolete or unnecessary. When this happens, the parameters are identified as deprecated. Editors are encouraged to use other parameters that accomplish the same purpose as those that have been deprecated. The CS1|2 deprecated parameters are listed in the following table, along with recommended replacement parameters. Parameter names are case-sensitive. Editors should expect that support for deprecated parameters will be withdrawn.
To resolve this error, use a supported parameter.
Plan for the future: All non-hyphenated, multiword parameter names are aliases of hyphenated multiword parameter names. The non-hyphenated aliases exist only for legacy support. Editors should expect that support for non-hyphenated parameter names will be withdrawn. Choose the hyphenated form when adding parameters to a citation template. Consider replacing non-hyphenated parameters with the hyphenated equivalents at the same time.
Pages with this error are automatically placed in Category:CS1 errors: deprecated parameters.[a]
Deprecated parameter | Replace with | Date |
---|---|---|
|conferenceurl=
|
|conference-url=
|
January 2021 |
|contributionurl=
|
|contribution-url=
|
January 2021 |
|laydate=
|
|lay-date=
|
January 2021 |
|laysource=
|
|lay-source=
|
January 2021 |
|layurl=
|
|lay-url=
|
January 2021 |
|sectionurl=
|
|section-url=
|
January 2021 |
|seriesno=
|
|series-no=
|
January 2021 |
|timecaption=
|
|time-caption=
|
January 2021 |
|titlelink=
|
|title-link=
|
January 2021 |
Removed parameter | Replace with | Date |
---|---|---|
|authorfirst=
|
|author-first=
|
October 2020 |
|authorfirstn=
|
|author-firstn=
|
October 2020 |
|authornfirst=
|
|authorn-first=
|
October 2020 |
|authorgiven=
|
|author-given=
|
October 2020 |
|authorgivenn=
|
|author-givenn=
|
October 2020 |
|authorngiven=
|
|authorn-given=
|
October 2020 |
|authorlast=
|
|author-last=
|
October 2020 |
|authorlastn=
|
|author-lastn=
|
October 2020 |
|authornlast=
|
|authorn-last=
|
October 2020 |
|authormask=
|
|author-mask=
|
January 2021 |
|authormaskn=
|
|author-maskn=
|
January 2021 |
|authornmask=
|
|authorn-mask=
|
January 2021 |
|authorsurname=
|
|author-surname=
|
October 2020 |
|authorsurnamen=
|
|author-surnamen=
|
October 2020 |
|authornsurname=
|
|authorn-surname=
|
October 2020 |
|deadurl=yes
|
|url-status=dead
|
September 2019 |
|dead-url=yes
|
|url-status=dead
|
September 2019 |
|displayauthors=
|
|display-authors=
|
January 2021 |
|displayeditors=
|
|display-editors=
|
October 2020 |
|doi-broken=
|
|doi-broken-date=
|
October 2020 |
|doi-inactive-date=
|
|doi-broken-date=
|
October 2020 |
|editorfirst=
|
|editor-first=
|
October 2020 |
|editorfirstn=
|
|editor-firstn=
|
October 2020 |
|editornfirst=
|
|editorn-first=
|
October 2020 |
|editorgiven=
|
|editor-given=
|
October 2020 |
|editorgivenn=
|
|editor-givenn=
|
October 2020 |
|editorngiven=
|
|editorn-given=
|
October 2020 |
|editorlast=
|
|editor-last=
|
October 2020 |
|editorlastn=
|
|editor-lastn=
|
October 2020 |
|editornlast=
|
|editorn-last=
|
October 2020 |
|editorlink=
|
|editor-link=
|
January 2021 |
|editorlinkn=
|
|editor-linkn=
|
January 2021 |
|editornlink=
|
|editorn-link=
|
January 2021 |
|editors=
|
|editor= (one editor) or |editorn= (more than one editor) or |veditors= (for Vancouver style editors). Consider splitting |editorn= into |editor-firstn= and |editor-lastn= , if possible. Consider |editor-maskn= , if annotation is required.
|
January 2021 |
|editorsurname=
|
|editor-surname=
|
October 2020 |
|editorsurnamen=
|
|editor-surnamen=
|
October 2020 |
|editornsurname=
|
|editorn-surname=
|
October 2020 |
|editormask=
|
|editor-mask=
|
October 2020 |
|editormaskn=
|
|editor-maskn=
|
October 2020 |
|editornmask=
|
|editorn-mask=
|
October 2020 |
|embargo=
|
|pmc-embargo-date=
|
October 2020 |
|event-format=
|
(delete) | January 2021 |
|eventurl=
|
(delete) | January 2021 |
|event-url=
|
(delete) | January 2021 |
|ignoreisbnerror=
|
|isbn=((<isbn>))
|
October 2020 |
|ignore-isbn-error=
|
|isbn=((<isbn>))
|
January 2021 |
|interviewerlink=
|
|interviewer-link=
|
October 2020 |
|interviewerlinkn=
|
|interviewer-linkn=
|
October 2020 |
|interviewernlink=
|
|interviewern-link=
|
October 2020 |
|interviewermask=
|
|interviewer-mask=
|
October 2020 |
|interviewermaskn=
|
|interviewer-maskn=
|
October 2020 |
|interviewernmask=
|
|interviewern-mask=
|
October 2020 |
|last-author-amp=
|
|name-list-style=amp
|
January 2021 |
|lastauthoramp=
|
|name-list-style=amp
|
January 2021 |
|nocat=
|
|no-tracking=
|
January 2021 |
|no-cat=
|
|no-tracking=
|
October 2020 |
|notracking=
|
|no-tracking=
|
October 2020 |
|registration=
|
|url-access=registration
|
January 2020 |
|seriesnumber=
|
(delete) | January 2021 |
|series-separator=
|
(delete) | October 2020 |
|subjectlink=
|
|subject-link=
|
January 2021 |
|subjectlinkn=
|
|subject-linkn=
|
January 2021 |
|subjectnlink=
|
|subjectn-link=
|
January 2021 |
|subscription=
|
|url-access=subscription
|
January 2020 |
Cite uses generic title
Template:Help deskCite uses generic title
Articles are listed in this category when Module:Citation/CS1 identifies template |title=
parameters that use place-holder titles. Such titles may have been provided by bots or other tools that are unable to identify the source's correct title. Pages in this category should only be added by Module:Citation/CS1.
CS1|2 maintains a short list of 'titles' that are typically not the title of the cited source. Some examples are:
- Wayback machine
- This website is for sale
- Are you a robot?
If you are aware of other common place-holder titles, please report them at Help talk:Citation Style 1, so that they can be added to the list.
To resolve this error, replace the place-holder title with the source's actual title.
Pages with this error are automatically placed in Category:CS1 errors: generic title.[a]
See also the maintenance category Category:CS1 maint: archived copy as title.
|citeseerx= required
Template:Help desk|citeseerx=
required
{{cite citeseerx}}
requires the identifier parameter |citeseerx=
.
To resolve this error, ensure that the template has |citeseerx=
with a properly constructed value.
Pages with this error are automatically placed in Category:CS1 errors: citeseerx.[a]
|class= ignored
Template:Help desk|class=
ignored
Only used in {{cite arXiv}}
templates, |class=
is only appropriate when the template uses |arxiv=YYMM.NNNN
or |arxiv=YYMM.NNNNN
identifier formats; see Cite arXiv §Usage.
To resolve this error, remove |class=
.
Pages with this error are automatically placed in Category:CS1 errors: class.[a]
|contributor= ignored
Template:Help desk|contributor=
ignored
Only used in book citations, |contributor=
identifies the author of a contribution, typically an afterword, foreword, introduction, preface, etc., to another (primary) author's work. This error occurs when |contributor=
is used in a template that is not {{cite book}}
or {{citation}}
or is one of these two templates and one of the |work=
parameter aliases is set.
To resolve this error, choose a more appropriate CS1 or CS2 template or remove |contributor=
.
Pages with this error are automatically placed in Category:CS1 errors: contributor.[a]
|contributor= requires |<param>=
|contributor=
requires|author=
|contributor=
requires|contribution=
Only used in book citations, |contributor=
identifies the author of a contribution, typically an afterword, foreword, introduction, preface, etc., to another (primary) author's work. As such, the primary author is required (|author=
or appropriate alias) as is the title of the contribution (|contribution=
).
To resolve this error, include the book's primary author in |author1=
, or |last1=
, |first1=
, or |vauthors=
and include the contribution title in |contribution=
; or remove |contributor=
.
Pages with this error are automatically placed in Category:CS1 errors: contributor.[a]
|doi-broken-date= requires |doi=
Template:Help desk|doi-broken-date=
requires |doi=
When |doi-broken-date=
is used in a CS1|2 template, |doi=
or |DOI=
(with value) must also be present.
To resolve this error, either add the missing DOI or remove the 'broken' parameter.
Pages with this error are automatically placed in Category:CS1 errors: DOI.[a]
|edition= has extra text
Template:Help desk
|edition=
has extra text
The templates are responsible for static text rendered in the citation. When |edition=
is used in a template, cs1|2 adds the abbreviation 'ed.' to the value in the parameter so:
|edition=1st
renders as:
- 1st ed.
The templates emit this error message when various forms of ed
, edn
, or edition
are found in the value assigned to |edition=
.
To resolve this error, remove the extraneous text from the parameter value.
Pages with this error are automatically placed in Category:CS1 errors: extra text: edition.[a]
Empty citation
Template:Help deskEmpty citation
A Citation Style 1 or Template:Cs2 template marked as "Empty" contains no recognizable parameter identifiers. For example, this citation is marked as "empty" even though it contains usable information:
{{cite web |http://www.foobar.com |The Foobar News}}
The citation is "empty" because it does not contain the necessary parameter identifiers (in this case |url=
and |title=
) that tell {{cite web}}
how to use the information that the citation does contain.
A citation is also marked as "empty" when it contains only parameters that it doesn't recognize:
{{cite book |titolo=The Bazquux Uprising |anno=2015}}
This citation is "empty" because the Italian-language parameters |titolo=
and |anno=
are not recognized as valid parameter names on the English Wikipedia.
"Empty citation" may also mean that an editor meant to use another template entirely. Perhaps the editor used {{citation}}
when the intent was to use {{citation needed}}
or {{quote}}
.
To resolve this error, add appropriate parameter identifiers, translate foreign language parameter names to their English equivalents, or replace the CS1/CS2 template with a more appropriate template.
Pages with this error are automatically placed in Category:CS1 errors: empty citation.[a]
Explicit use of et al.
Template:Help deskExplicit use of et al. in: |<param>=
This error occurs where a Citation Style 1 or Template:Cs2 template detects that one of the names parameters contains some form of "et al." either as a separate name parameter (|author6=et al.
) or as a suffix added to a name list (|author=Smith, A.B. et al.
) or first name (|first=John, et al.
).
This error can occur in any of the author, editor, interviewer, translator, or contributor parameters.
Use the |display-authors=
parameter instead (or other applicable |display-<names>=
parameter), as documented at Help:Citation Style 1#Display options.
Pages with this error are automatically placed in Category:CS1 errors: explicit use of et al..[a]
External link in |<param>=
Template:Help deskExternal link in |<param>=
This error occurs when any of the CS1 or CS2 citation title-holding parameters – |title=
, |chapter=
, |publisher=
, |work=
or any of its aliases: |journal=
, |magazine=
, |newspaper=
, |periodical=
and |website=
– hold an external link (URL). External links in these parameters corrupt the citation's metadata and can be the source of a variety of other error messages.
To resolve this error, remove the external link from the identified parameter. Consider placing the external link in a more appropriate parameter:
- for
|chapter=
, the URL may belong in|chapter-url=
. - for other parameters, it may belong in
|url=
.
Pages with this error are automatically placed in Category:CS1 errors: external links.[a]
|<first>n= missing |<last>n=
Template:Help desk|<first>n=
missing |<last>n=
Citation Style 1 and Template:Cs2 templates requires a |<last>n=
parameter for each |<first>n=
parameter in a citation. Author, contributor, editor, interviewer, and translator lists are checked for proper last/first pairing. CS1|2 will emit this error message for the first mismatch it detects. If there are more last/first mismatches in a citation, subsequent mismatches are not detected.
There is no requirement that each |<last>n=
have a matching |<first>n=
.
To resolve this error, ensure that each |<first>n=
has a corresponding |<last>n=
.
Pages with this error are automatically placed in Category:CS1 errors: missing name.[a]
|format= requires |url=
|format=
requires|url=
|...-format=
requires|...-url=
These errors occur when Citation Style 1 and Template:Cs2 templates use |format=
or |...-format=
without also providing a corresponding URL for |url=
or |...-url=
, respectively. The |format=
and |...-format=
parameters are used to specify the file format of a web resource, such as PDF, DOC, or XLS. In some cases an editor may have intended to use |type=
to specify a kind of document, such as hard cover, paperback, or pamphlet. The |format=
and |...-format=
value is always displayed.
The list of |...-format=
parameters is:
|archive-format=
,|article-format=
,|chapter-format=
,|conference-format=
,|contribution-format=
,|entry-format=
,|event-format=
,|lay-format=
,|map-format=
,|section-format=
,|transcript-format=
(Citations that relied on the pre-2014, somewhat odd use of |url=
and |format=
may need adjustment in regard to |chapter-format=
.)
To resolve this error, remove |format=
or |chapter-format=
; define |url=
or |chapter-url=
; or change |format=
to |type=
(or to |chapter-format=
if |chapter-url=
is used without |url=
.
Pages with this error are automatically placed in Category:CS1 errors: format without URL.[a]
Invalid |display-<names>=<value>
Template:Help deskInvalid |<names>=<value>
These error messages are emitted when Module:Citation/CS1 identifies citations that use one or more of the |display-<names>=
parameters with an invalid assigned <value>
. An invalid assigned <value>
is a number that is greater than or equal to the number of <names>
in the associated name-list or it is non-numeric text that Module:Citation/CS1 cannot recognize as a form of the keyword etal
.
To resolve this error, do one of the following:
- Remove the
|display-<names>=
parameter from the citation (because "et al." is not appropriate in the citation) - Change the
<value>
of the|display-<names>=
parameter such that it is less than the number of<names>
in the name-list (thereby truncating the displayed list to the number) - Change the
<value>
of the|display-<names>=
parameter toetal
, which will cause "et al" to display after the last<name>
.
Pages with this error are automatically placed in Category:CS1 errors: display-names.[a]
Invalid <param>=<value>
Template:Help deskInvalid |<param>=<value>
To function properly, some parameters are limited to a certain set of acceptable values. This error message indicates that a parameter has been assigned a value that is not a member of the parameter's defined set of acceptable values.
Letters in values must all be in lower case, as shown below.
Parameter | Acceptable values |
---|---|
|df= |
dmy , dmy-all , mdy , mdy-all , ymd , ymd-all
|
|mode= |
cs1 , cs2
|
|name-list-style= |
amp , ampersand , and , & , serial , vanc
|
|no-pp= |
true , y , yes
|
|no-tracking=
| |
|bibcode-access= |
free
|
|doi-access=
| |
|hdl-access=
| |
|jstor-access=
| |
|ol-access=
| |
|osti-access=
| |
|s2cid-access=
| |
|url-access= |
subscription , registration , limited
|
|article-url-access=
| |
|chapter-url-access=
| |
|contribution-url-access=
| |
|entry-url-access=
| |
|map-url-access=
| |
|section-url-access=
| |
|url-status= |
dead , live , unfit , usurped
|
To resolve this error, use an appropriate value.
Pages with this error are automatically placed in Category:CS1 errors: invalid parameter value.[a]
Invalid |script-<param>=: <type>
Template:Help deskInvalid |script-<param>=
: <type>
The various |script-<param>=
parameters are checked for proper form. When an error is detected, the error message briefly identifies the type of the error:
- missing title part – the
|script-<param>=
parameter has a language-code prefix but is otherwise empty - missing prefix – the
|script-<param>=
parameter has text but is missing the required language-code prefix; the prefix has the formxx:
orxxx:
wherexx
orxxx
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 (:
) is required - unknown language code – the
|script-<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:
- ab: Abkhazian
- am: Amharic
- ar: Arabic
- be: Belarusian
- bg: Bulgarian
- bn: Bengali
- bo: Tibetan
- bs: Bosnian
- dv: Divehi
- dz: Dzongkha
- el: Greek
- fa: Persian
- gu: Gujarati
- he: Hebrew
- hi: Hindi
- hy: Armenian
- ja: Japanese
- ka: Georgian
- kk: Kazakh
- km: Khmer
- kn: Kannada
- ko: Korean
- ku: Kurdish
- ky: Kyrgyz
- lo: Lao
- mk: Macedonian
- ml: Malayalam
- mn: Mongolian
- mr: Marathi
- my: Burmese
- ne: Nepali
- or: Odia
- ota: Ottoman Turkish
- pa: Punjabi
- ps: Pashto
- ru: Russian
- sd: Sindhi
- si: Sinhala
- sr: Serbian
- syc: Classical Syriac
- ta: Tamil
- te: Telugu
- tg: Tajik
- th: Thai
- ti: Tigrinya
- tt: Tatar
- ug: Uyghur
- uk: Ukrainian
- ur: Urdu
- uz: Uzbek
- yi: Yiddish
- yue: Cantonese
- zh: Chinese
Pages with this error are automatically placed in Category:CS1 errors: script parameters.[a]
|issue=/|number= has extra text
Template:Help desk
|$1=
has extra text
|$1=
has extra text
The templates are responsible for static text rendered in the citation. When |issue=
or |number=
is used in a template, cs1|2 formats the issue number according to the style corresponding with the publication type associated with the used citation template.
The templates emit this error message when various forms of issue or number prefixes (like Iss.
or No.
) are found in the value assigned to |issue=
or |number=
.
To resolve this error, remove the extraneous text from the parameter value.
Pages with this error are automatically placed in Category:CS1 errors: extra text: issue.[a]
Italic or bold markup not allowed in: |<param>=
Template:Help deskItalic or bold markup not allowed in: |<param>n=
Italic (''
) or bold ('''
) wikimarkup is not allowed in publisher and periodical parameters. These parameters include:
|publisher=
|journal=
|magazine=
|newspaper=
|periodical=
|website=
|work=
To resolve this error, remove wiki markup from the named parameter's value and ensure that the template is using the correct parameters; when citing a newspaper, use |newspaper=
for the newspaper's name, not |publisher=
, etc.
Pages with this error are automatically placed in Category:CS1 errors: markup.[a]
Missing |<name>n=
Template:Help deskMissing |<name>n=
So that all names are listed in a rendered citation, Citation Style 1 and Template:Cs2 templates require n in |<last>n=
(and its aliases) to increment by 1 for each name in the list (author, contributor, editor, interviewer, translator). This error message is emitted when there is a 'hole' in the numbering (an author list made up of |author1=
and |author3=
but without |author2=
for example).
The test will not detect a 'hole' that is larger than 1. It is presumed that when |authorn=
and |authorn+1=
are both not present, then the test has reached the end of the list.
To resolve this error, ensure that the numbering of the |<last>n=
parameters increments properly.
Pages with this error are automatically placed in Category:CS1 errors: missing name.[a]
Missing or empty |title=
There are two slightly different error conditions that can arise when CS1 citations lack appropriate titles. In each case, CS1 reports this error message. The necessary resolution may vary depending on the cause of the error. The error message links to the appropriate description below.
Bare URL without a title
Template:Help desk|<param>=
missing title
All Citation Style 1 and Template: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 |title=
cannot be linked with |url=
because the citation also contains a conflicting |title-link=
parameter.
URL parameters | Title parameters |
---|---|
|archive-url=
|
|title=
|
|article-url=
|
|article= , |chapter= , |contribution= , |entry= , |section=
|
|chapter-url=
|
|chapter= , |article= , |contribution= , |entry= , |section=
|
|conference-url=
|
|conference= , |event=
|
|contribution-url=
|
|contribution= , |chapter= , |article= , |entry= , |section=
|
|entry-url=
|
|entry= , |chapter= , |article= , |contribution= , |section=
|
|event-url=
|
|event= , |conference=
|
|map-url=
|
|map=
|
|section-url=
|
|section= , |chapter= , |article= , |contribution= , |entry=
|
|transcript-url=
|
|transcript=
|
|url=
|
|title=
|
A unique case exists for {{cite journal}}: if |pmc=
or |doi=
has a value, |url=
is omitted or empty, and |title-link=
does not point to an article, then |title=
is automatically linked with the same URL as the PMC or DOI. This default behaviour can be overridden using |title-link=none/pmc/doi
.
Because URLs are ugly and generally uninformative, it is expected that editors should provide a meaningful title for each URL. In most cases this can be accomplished by using the |title=
parameter.
To resolve this error, provide an appropriate title for the URL-containing parameter. In the case where |url=
and |title-link=
are contending for |title=
you must choose which one to keep. Consider moving |url=
or |title-link=
to a more suitable parameter.
Pages with this error are automatically placed in Category:CS1 errors: bare URL (0 pages).[a]
Citation without a title of any form
- Missing or empty
|title=
- Missing or empty
|series=
This error occurs for Citation Style 1 and Template:Cs2 templates when all of |title=
, |trans-title=
, and |script-title=
are omitted or left blank. At least one of these title parameters must be provided for each citation.
{{cite episode}}
will show this error if |series=
is omitted or left blank (even if a |title=
is provided).
Sometimes this error occurs because an editor has used a CS1|2 citation as a shortened footnote when {{sfn}}
or one of the {{harv}}
family of templates would have been more appropriate. This error also occurs when an editor used {{citation}}
but intended to use {{citation needed}}
.
To resolve this error, provide a value for |title=
, |trans-title=
, and/or |script-title=
or replace the CS1|2 template with a more appropriate template. If you are listing a periodical or an issue of a periodical in a bibliography rather than within <ref>...</ref>
tags, {{List journal}}
may be more appropriate.
Pages with this error are automatically placed in Category:CS1 errors: missing title (1 page).[a]
Missing or empty |url=
Template:Help deskMissing or empty |url=
This error message is reported by {{cite web}}
, {{cite podcast}}
, and {{cite mailing list}}
when the template parameters |url=
and |archive-url=
are both missing, blank or not properly entered. Note that |website=
or |work=
is the name of the site, not the URL.
To resolve this error, provide a value for |url=
or use a more appropriate template such as {{cite book}}, {{cite journal}} or other Citation Style 1 or Template:Cs2 template.
Pages with this error are automatically placed in Category:CS1 errors: requires URL (0 pages).[a]
Missing pipe
Template:Help deskMissing pipe in: |<param>=
Citation Style 1 and Template:Cs2 templates report this error when one parameter has text that looks like it is a parameter missing a pipe (|
). This error occurs when a template parameter value contains characters and digits followed by an equal sign. If the alphanumeric text immediately preceding the equal sign is a valid CS1|2 parameter name, the module assumes that the template is missing a pipe and emits this error message.
Some legitimate titles will contain a CS1|2 parameter name followed by an equal sign. In that case, enclose the equal sign in nowiki tags, like this: <nowiki>=</nowiki>
. For most other cases, simply add the missing pipe.
Pages with this error are automatically placed in Category:CS1 errors: missing pipe.[a]
More than one of |<param1>=, |<param2>=, and |<param3>= specified
Template:Help deskMore than one of |<param1>=
, |<param2>=
, and |<param3>=
specified
This error occurs when a Citation Style 1 or Template:Cs2 template includes more than one parameter that maps to the same meaning. For example, |author=
, |last=
, and |last1=
are all synonyms of each other, so no more than one of these parameters should ever be used in a single template.
To resolve this error, remove or modify the redundant parameter(s).
- More than one of author-name-list parameters specified
- More than one of editor-name-list parameters specified
This error occurs when a CS1 or CS2 template uses more than one type of author or editor name-list style. There are three kinds of incompatible author-name-list styles:
|authorn=
and|lastn=
/|firstn=
(and their various aliases),|vauthors=
, and|authors=
and similarly, three editor-name-list styles:
|editorn=
and|editor-lastn=
/|editor-firstn=
(and their various aliases) as well as|veditors=
To resolve this error, choose one name-list-style. Use the chosen style for both of the author and editor name-lists.
Pages with these errors are automatically placed in Category:CS1 errors: redundant parameter.[a]
|page(s)= has extra text
Template:Help desk
|$1=
has extra text
The templates are responsible for static text rendered in the citation. When |page=
/|p=
, |pages=
/|pp=
, |quote-page=
or |quote-pages=
is used in a template, cs1|2 inserts the appropriate pagination prefix 'p.' or 'pp.' ahead of the value in the parameter so:
|page=123
renders as:
- p. 123
and:
|page=123–125
renders as:
- pp. 123–125
The templates emit this error message when various forms of p
, pp
, pg
, pgs
, page
, or pages
are found in the value assigned to |page=
/|p=
, |pages=
/|pp=
, |quote-page=
or |quote-pages=
.
To resolve this error, remove the extraneous text from the parameter value.
Pages with this error are automatically placed in Category:CS1 errors: extra text: pages.[a]
|<param>-access= requires |<param>=
Template:Help desk|<param>-access=
requires |<param>=
This error is reported when an access level has been specified for some external link, but the corresponding required parameter is missing or empty. The parameter can be one of
Specifier | Required parameter |
---|---|
|article-url-access= |
|article-url=
|
|bibcode-access= |
|bibcode=
|
|chapter-url-access= |
|chapter-url=
|
|contribution-url-access= |
|contribution-url=
|
|doi-access= |
|doi=
|
|entry-url-access= |
|entry-url=
|
|hdl-access= |
|hdl=
|
|jstor-access= |
|jstor=
|
|map-url-access= |
|map-url=
|
|ol-access= |
|ol=
|
|osti-access= |
|osti=
|
|section-url-access= |
|section-url=
|
|s2cid-access= |
|s2cid=
|
|url-access= |
|url=
|
To resolve this error, either provide a value for the parameter, or remove the access level specification.
Pages with this error are automatically placed in Category:CS1 errors: param-access.[a]
|pmc-embargo-date= requires |pmc=
Template:Help desk|pmc-embargo-date=
requires |pmc=
When |pmc-embargo-date=
is used in a CS1|2 template, |pmc=
or |PMC=
(with value) must also be present.
To resolve this error, either add the missing PMC or remove the 'broken' parameter.
Pages with this error are automatically placed in Category:CS1 errors: PMC embargo.[a]
|ssrn= required
Template:Help desk|ssrn=
required
{{cite ssrn}}
requires the identifier parameter |ssrn=
.
To resolve this error, ensure that the template has |ssrn=
with a properly constructed value.
Pages with this error are automatically placed in Category:CS1 errors: SSRN.[a]
Text "????" ignored
Template:Help deskText "????" ignored
Unlike many Wikipedia templates, the Citation Style 1 and Template:Cs2 templates do not use unnamed or positional parameters. When a citation contains text between vertical bars 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 %7C
. When vertical bars occur in parameter values that are not URLs, replace each vertical bar with |
or {{!}}
.
To resolve this error, remove the extraneous text, add '=', add an appropriate parameter name from the template you're using to complete the parameter, or properly encode vertical bars in URLs and titles.
Pages with this error are automatically placed in Category:CS1 errors: unrecognized parameter.[a]
|trans-<param>= requires |<param>= or |script-<param>
Template:Help desk|trans-<param>=
requires |<param>=
or |script-<param>=
Citation Style 1 and Template:Cs2 templates report this error when the citation has an English translation of the title in |trans-title=
or chapter title in |trans-chapter=
but does not have the original-language title in |title=
or original-language chapter title in |chapter=
.
To resolve this error, provide the original language title for |title=
or chapter title for |chapter=
. Consider adding |language=
if not already part of the citation.
Pages with this error are automatically placed in Category:CS1 errors: translated title.[a]
Unknown parameter |<param>= ignored
- Unknown parameter
|<param>=
ignored - Unknown parameter
|<param>=
ignored (|<sparam>=
suggested)
Citation Style 1 and Template:Cs2 templates report this error when the name portion of a parameter's |name=value
pair is not recognized as a valid name. Typically, this is caused by spelling or capitalization errors or when a page is reverted to a version where the citation template did support the parameter.
The CS1|2 engine does not ignore unrecognized parameters. The purpose of the citation is to properly identify the source, not to act as a repository of notes and ancillary information.
CS1|2 template parameters are lower case. CS1|2 will report this error when the parameter's name contains uppercase letters (Xxxx, xxXx, XXXX) but the parameter's name is defined as lowercase (xxxx). Some identifier parameters, like |isbn=
, |pmc=
, |doi=
, etc., can be either lower case or upper case, but not of mixed case (|isbn=
or |ISBN=
but not |Isbn=
). For common parameter misspellings, like |pubisher=
instead of |publisher=
and some former template parameters, CS1|2 will suggest a valid parameter name. The list of deprecated and recently removed parameters may contain additional information as well.
Reported unknown parameters following a |DUPLICATE_<param>=
scheme are created by Citation Bot when it finds duplicate parameters |<param>=
in a template.
To resolve this error, replace the erroneous parameter name with a correct one, possibly using the suggested name. Ensure that the parameter's name is correctly spelled and that there are no characters except spaces between the parameter's name and the leading vertical bar (|) or trailing equals sign (=). A list of valid parameters can be found by consulting Help:Citation Style 1 or visiting the description page of the specific template being used, such as {{cite web}}
, {{cite book}}
, {{cite journal}}
, etc. Consider moving information associated with the unknown parameter into an appropriate parameter or to a section of the article's talk page for preservation.
Pages with this error are automatically placed in Category:CS1 errors: unsupported parameter.[a]
URL–wikilink conflict
Template:Help deskURL–wikilink conflict
External links in a rendered citation are a combination of url-holding parameters, |url=
, |chapter-url=
, etc., with title-holding parameters, |title=
, |chapter=
, etc. Title-holding parameters may be wikilinked 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.
Some templates will also cause this error if they are part of a title-holding parameter. The error occurs when the template produces wikilinked content. For example, {{lang}}
templates output a wikilinked category. Templates in url-holding parameters may also corrupt the citation's COinS metadata. As a general rule, avoid using templates in title-holding parameters unless you know that the template's effects are entirely visual ({{!}}
and the like).
This type of error may also occur in identifier-based templates ({{cite doi}}
, etc.). When this happens, the error message is shown in the article but the error is actually located in the identifier-based citation template.
To resolve this error, remove wikilinks from title-holding parameters that are intended to be externally linked or remove the external URL, which will allow the internal wikilinks to work as expected. If wikilink-producing templates are important to the citation, move them out of the CS1 template but leave them inside the citation's <ref>...</ref>
tags. Some of the functionality provided by templates may also be available through CS1 parameters.
To resolve errors in identifier-based citation templates, the template must be edited to correct the error. Exercise caution when editing these templates because identifier-based citation templates are often used in multiple articles.
Pages with this error are automatically placed in Category:CS1 errors: URL–wikilink conflict.[a]
Vancouver style error
Template:Help deskVancouver style error: <type> in name $2
This error is reported for citations that use |vauthors=
, |veditors=
, |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:
- C0 Controls and Basic Latin[8] (0041–005A, 0061–007A)
- C1 Controls and Latin-1 Supplement[9] (00C0–00D6, 00D8–00F6, 00F8–00FF)
- Latin Extended-A[10] (0100–017F)
- Latin Extended-B[11] (0180–01BF, 01C4–024F)
This error is also reported when more than two initials are used: in case of more than two initials, list only the first two.
This error is also reported when a corporate or institutional author is listed in |vauthors=
without proper delimiters. Corporate authors should be listed this way:
|vauthors=First Surname FM, Surname AB, Template:GreenCorporate or institutional AuthorTemplate: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, Template:PMID lists Magnus von Knebel Doeberitz as Doeberitz Mv which is not correct. This author's name should be listed as |vauthors=von Knebel Doeberitz M
.[12]
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: |vauthors=Van’t Veer M
. Replace this character with the straight (or typewriter) apostrophe: |vauthors=VanTemplate:Greent Veer M
.
To resolve this error, Romanize author and editor names.[13] Romanizing can result in two-letter initials, for example, the Greek letter 'Θ' Romanizes to 'Th'.[14] When author names have this kind of initial, Module:Citation/CS1 can't know if this kind of initial is a typo or a legitimate Romanized character so it will emit the Vancouver error. To suppress the error after determining that the two-character initial is correct and not a typo, treat the name as if it were a corporate name by wrapping it in doubled parentheses: |vauthors=..., Tatarinov IuS, ...
→ |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.
Specific Rules for Names:[15]
- Surnames with hyphens and other punctuation in them
- Other surname rules
- Given names containing punctuation, a prefix, a preposition, or particle
- Degrees, titles, and honors before or after a personal name
- Designations of rank within a family, such as Jr and III
- Names appearing in non-roman alphabets (Cyrillic, Greek, Arabic, Hebrew, Korean) or character-based languages (Chinese, Japanese)
- Organizations as author
- CS1|2 does not obey the semicolon-as-separator rule. Separate corporate and organizational names from each other and from individual names with a comma; wrap corporate and organizational names in doubled parentheses as described above.
Pages with this error are automatically placed in Category:CS1 errors: Vancouver style.[a]
|volume= has extra text
Template:Help desk
|$1=
has extra text
The templates are responsible for static text rendered in the citation. When |volume=
is used in a template, cs1|2 formats the volume value according to the style corresponding with the publication type associated with the used citation template.
The templates emit this error message when some form of volume prefix (like "Vol.") is found in the value assigned to |volume=
.
To resolve this error, remove the extraneous text from the parameter value.
Pages with this error are automatically placed in Category:CS1 errors: extra text: volume.[a]
Notes
- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 1.48 1.49 1.50 1.51 1.52 1.53 1.54 1.55 1.56 1.57 1.58 1.59 1.60 1.61 1.62 1.63 1.64 1.65 1.66 1.67 1.68 1.69 1.70 1.71 1.72 1.73 Pages in the Book talk, Category talk, Draft talk, Education Program talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, User, User talk, and Wikipedia talk namespaces are not included in the error tracking categories.
References
- ↑ 1.0 1.1 "archive.org website". Internet Archive.
- ↑ 2.0 2.1 "webcitation.org website". WebCite.
- ↑ "Understanding the arXiv identifier". Cornell University Library. Retrieved 2014-08-20.
- ↑ "1.2.3 - Bibliographic Identifiers". The SAO/NASA Astrophysics Data System.
- ↑ "The LCCN Namespace". Network Development and MARC Standards Office. Library of Congress. November 2003.
- ↑ "Netnews Article Format". Internet Engineering Task Force. November 2009. 3.1.3. RFC 5536.
- ↑ "Scheme". Uniform Resource Identifier (URI): Generic Syntax. Internet Engineering Task Force. January 2005. RFC 3986.
- ↑ "C0 Controls and Basic Latin" (PDF). Unicode. Retrieved 2015-04-19.
- ↑ "C1 Controls and Latin-1 Supplement" (PDF). Unicode. Retrieved 2015-04-19.
- ↑ "Latin Extended-A" (PDF). Unicode. Retrieved 2015-04-19.
- ↑ "Latin Extended-B" (PDF). Unicode. Retrieved 2015-04-19.
- ↑ "Other surname rules". National Center for Biotechnology Information. 2018-05-18.
- ↑ Patrias, Karen (2007). "Names in non-roman alphabets or character-based languages". In Wendling, Dan (ed.). Citing Medicine: The NLM Style Guide for Authors, Editors, and Publishers (2nd ed.). Bethesda, Maryland, USA: National Library of Medicine.
- ↑ "Greek" (PDF). Library of Congress.
- ↑ Patrias, Karen (2007). Wendling, Dan (ed.). Citing Medicine: The NLM Style Guide for Authors, Editors, and Publishers [Internet] (2nd ed.). Bethesda, Maryland, USA: National Library of Medicine. Retrieved 2019-03-31.