Khác biệt giữa bản sửa đổi của “Trợ giúp:Lỗi CS1”
Nội dung được xóa Nội dung được thêm vào
Dòng 35:
When the online resource has a publication or other fixed date associated with it, {{para|access-date}} is of limited value though may be useful in identifying an appropriate archived version of the resource. Without {{para|url}}, {{para|access-date}} is not considered useful.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có chú thích thiếu ngày truy cập và URL]].<ref group="lower-alpha" name="categories" /><section end="accessdate_missing_url_help_text" />
Dòng 58:
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.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có lỗi chú thích URL lưu trữ]].<ref group="lower-alpha" name="categories" /><section end="archive_url_help_text" />
Dòng 67:
{{para|archive-date}} (or its alias, {{para|archivedate}}), identifies the date that the web resource was archived.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có lỗi chú thích URL lưu trữ]].<ref group="lower-alpha" name="categories" /><section end="archive_missing_date_help_text" />
Dòng 76:
A properly formatted citation that includes {{para|archive-url}} and {{para|archive-date}} requires {{para|url}}. When the citation includes {{para|dead-url|no}}, the ordering of elements in the rendered citation is changed to put the original url first.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có lỗi chú thích URL lưu trữ]].<ref group="lower-alpha" name="categories" /><section end="archive_missing_url_help_text" />
Dòng 107:
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]] |accessdate=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.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: arXiv]].<ref group="lower-alpha" name="categories" /><section end="bad_arxiv_help_text" />
Dòng 117:
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]].
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 [[:Thể loại:Bảo trì CS1: ASIN sử dụng ISBN]].
Dòng 136:
::10–18 must be letter, digit, or dot
::19 must be a letter or dot
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: bibcode| Category:CS1 errors: bibcode | [[:Category:CS1 errors: bibcode]]}}.<ref group="lower-alpha" name="categories" /><section end="bad_bibcode_help_text" />
Hàng 146 ⟶ 147:
When {{cs1}} and {{cs2}} templates contain {{para|biorxiv}}, a test is done to see if the [[bioRxiv]] identifier comprises six numeric characters without punctuation or spaces. A common error is to include the bioRxiv ''url'' (<nowiki>https://dx.doi.org/10.1101/</nowiki><span style=color:red><BIORXIV></span>), or the biorxiv ''doi'' (10.1101/<span style=color:red><BIORXIV></span>)
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: bioRxiv| Category:CS1 errors: bioRxiv | [[:Category:CS1 errors: bioRxiv]]}}.<ref group="lower-alpha" name="categories" /><section end="bad_biorxiv_help_text" />
Hàng 166 ⟶ 167:
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#CS1_compliance_with_Wikipedia.27s_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]].
*impossible dates (e.g., 29 February 2011)
* {{para|access-date}} must specify a day, not just a month or year.
Hàng 316 ⟶ 317:
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 contains the proper <code>10.</code> registry identifier. Additionally, the {{para|doi}} 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 DOI is not performed.
Các trang có lỗi này được tự động xếp vào {{#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" />
Hàng 325 ⟶ 326:
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.
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: HDL | Category:CS1 errors: HDL | [[:Category:CS1 errors: HDL]]}}.<ref group="lower-alpha" name="categories" /><section end="bad_hdl_help_text" />
Hàng 341 ⟶ 342:
:<span class="error" style="font-size:100%">invalid form</span> – 10-digit ISBNs with the mis-positioned 'X' character
*'''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).
Hàng 361 ⟶ 362:
{{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.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: ISMN]].<ref group="lower-alpha" name="categories" /><section end="bad_ismn_help_text" />
Hàng 372 ⟶ 373:
{{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.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: ISSN]].<ref group="lower-alpha" name="categories" /><section end="bad_issn_help_text" /><!-- See [[bugzilla:47049]] about {{FULLPAGENAME}}, category pagenames containing ISBN, and #ifeq: -->
Hàng 381 ⟶ 382:
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.
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: JFM | Category:CS1 errors: JFM | [[:Category:CS1 errors: JFM]]}}.<ref group="lower-alpha" name="categories" /><section end="bad_jfm_help_text" />
Hàng 420 ⟶ 421:
Further validation is not performed.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: message-id]].<ref group="lower-alpha" name="categories" /><section end="bad_message_id_help_text" />
Hàng 429 ⟶ 430:
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.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1:MR]].<ref group="lower-alpha" name="categories" /><section end="bad_mr_help_text" />
Hàng 444 ⟶ 445:
Further validation is not performed.
A tip for fixing this error: Editors sometimes place valid [[ISBN]], [[LCCN]], [[ASIN]], or other identifiers in {{para|oclc}}.
Hàng 493 ⟶ 494:
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.-->
* Ensure that the {{para|<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 {{para|<param>}} parameters.
Hàng 514 ⟶ 515:
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 6000000 and that the identifier contains only digits. Further validation is not performed.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: PMC]].<ref group="lower-alpha" name="categories" /><section end="bad_pmc_help_text" />
Hàng 523 ⟶ 524:
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 greater than or equal to 1 and less than or equal to 30000000. Further validation is not performed.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: PMID]].<ref group="lower-alpha" name="categories" /><section end="bad_pmid_help_text" />
Hàng 532 ⟶ 533:
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 greater than or equal to 100 and less than or equal to 3500000. Further validation is not performed.
Các trang có lỗi này được tự động xếp vào {{#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" />
Hàng 550 ⟶ 551:
Third- and subsequent-level domain names are not checked. The path portion of the URL is not checked.
:{{cite web |url=http://mct.verisign-grs.com/ |title=IDN Conversion Tool |website=Verisign}}
:{{cite web |url=http://idna-converter.com/ |title=IDNA Conversion tool |website=IDNA-converter.com}}
Hàng 561 ⟶ 562:
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.
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: ZBL | Category:CS1 errors: ZBL | [[:Category:CS1 errors: ZBL]]}}.<ref group="lower-alpha" name="categories" /><section end="bad_zbl_help_text" />
Hàng 578 ⟶ 579:
|}
Các trang có lỗi này được tự động xếp vào {{#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" />
Hàng 587 ⟶ 588:
Only used in book citations, {{para|contributor}} identifies the author of a contribution, typically an afterword, forward, 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.
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: contributor | Category:CS1 errors: contributor | [[:Category:CS1 errors: contributor]]}}.<ref group="lower-alpha" name="categories" /><section end="contributor_ignored_help_text" />
Hàng 598 ⟶ 599:
Only used in book citations, {{para|contributor}} identifies the author of a contribution, typically an afterword, forward, 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}}).
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: contributor | Category:CS1 errors: contributor | [[:Category:CS1 errors: contributor]]}}.<ref group="lower-alpha" name="categories" /><section end="contributor_missing_required_param_help_text" />
Hàng 615 ⟶ 616:
"Empty citation" may also mean that an editor meant to use another template entirely. Perhaps the editor used {{tlx|citation}} when the intent was to use {{tlx|citation needed}} or {{tlx|quote}}.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có chú thích trống]].<ref group="lower-alpha" name="categories" /><section end="empty_citation_help_text" />
Hàng 624 ⟶ 625:
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.
* for {{para|chapter}}, the URL may belong in {{para|chapter-url}}.
* for other parameters, it may belong in {{para|url}}.
Hàng 642 ⟶ 643:
The error message uses a sort of shorthand: {{para|last''n''}} can refer to any of the legitimate {{para|author}} aliases in the authors list. Similarly, {{para|last''n''}} refers to any of the {{para|editor-last}} aliases in the editors list.
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | CS1 errors: missing author or editor| CS1 errors: missing author or editor | [[:Category:CS1 errors: missing author or editor]]}}.<ref group="lower-alpha" name="categories" /><section end="first_missing_last_help_text" />
Hàng 658 ⟶ 659:
As of 29 November 2014, {{para|chapter-format}} is a new parameter. Citations that relied on the old, somewhat odd use of {{para|url}} and {{para|format}} may need adjustment.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có chú thích có định dạng mà không có URL]].<ref group="lower-alpha" name="categories" /><section end="format_missing_url_help_text" />
Hàng 740 ⟶ 741:
The error message uses a sort of shorthand: {{para|last''n''}} can refer to any of the legitimate {{para|author}} aliases in the authors list. Similarly, {{para|last''n''}} refers to any of the {{para|editor-last}} aliases in the editors list.
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | CS1 errors: missing author or editor| CS1 errors: missing author or editor | [[:Category:CS1 errors: missing author or editor]]}}.<ref group="lower-alpha" name="categories" /><section end="missing_name_help_text" />
Hàng 781 ⟶ 782:
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.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có URL không tên trong chú thích]].<ref group="lower-alpha" name="categories" /><section end="bare_url_missing_title_help_text" />
Hàng 796 ⟶ 797:
Sometimes this error occurs because an editor has used a CS1|2 citation as a [[Help:Shortened footnotes|shortened footnote]] when {{tlx|sfn}} or one of the {{tlx|harv}} family of templates would have been more appropriate. This error also occurs when an editor used {{tlx|citation}} but intended to use {{tlx|citation needed}}.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có chú thích thiếu tựa đề]].<ref group="lower-alpha" name="categories" /><section end="citation_missing_title_help_text" />
Hàng 805 ⟶ 806:
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.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có chú thích Web thiếu URL]].<ref group="lower-alpha" name="categories" /><section end="cite_web_url_help_text" />
Hàng 814 ⟶ 815:
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.
<div class="plainlist">
Hàng 825 ⟶ 826:
:{{para|editor''n''}} and {{para|editor-last''n''}} / {{para|editor-first''n''}} (and their various aliases), {{para|veditors}}, and {{para|editors}}
Pages with these errors are automatically placed in [[:Thể loại:Trang có tham số chú thích dư]].<ref group="lower-alpha" name="categories" /><section end="redundant_parameters_help_text" />
Hàng 836 ⟶ 837:
This error can also be caused by vertical bars 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>.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có tham số chú thích không tên]].<ref group="lower-alpha" name="categories" /><section end="text_ignored_help_text" />
Hàng 847 ⟶ 848:
{{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}}.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có chú thích thiếu tên nguyên ngữ]].<ref group="lower-alpha" name="categories" /><section end="trans_missing_title_help_text" />
Hàng 862 ⟶ 863:
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.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có tham số chú thích không rõ]].<ref group="lower-alpha" name="categories" /><section end="parameter_ignored_help_text" />
Hàng 871 ⟶ 872:
{{tlx|cite arxiv}} uses a limited subset of the common {{cs1}} parameters. This error message is emitted when parameters not in the {{tld|cite arxiv}} subset occur in a {{tld|cite arxiv}} template.
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: arXiv]].<ref group="lower-alpha" name="categories" /><section end="arxiv_params_not_supported_help_text" />
Hàng 884 ⟶ 885:
This type of error may also occur in identifier-based templates ({{tlx|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 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.
Hàng 908 ⟶ 909:
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}}.
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.
Hàng 965 ⟶ 966:
|}
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} |Category:CS1 errors: param-access|
|