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
Thẻ: Trình soạn thảo mã nguồn 2017
Không có tóm lược sửa đổi
Dòng 100:
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: chương bị bỏ qua]].<ref group="lower-alpha" name="categories" /><section end="chapter_ignored_help_text" />
 
==<span id="bad_arxiv">CheckKiểm tra giá trị |arxiv= value</span>==
<section begin=bad_arxiv_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|arxiv=</code> value</span>
 
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.
Dòng 109:
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" />
 
==<span id="bad_asin">CheckKiểm tra giá trị |asin= value</span>==
 
<section begin=bad_asin_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <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]].
Dòng 121:
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: ASIN]].<ref group="lower-alpha" name="categories" /><section end="bad_asin_help_text" />
 
==<span id="bad_bibcode">CheckKiểm tra giá trị |bibcode= &lt;message></span>==
 
<section begin=bad_bibcode_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|bibcode=</code> <message></span>
 
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:
Dòng 138:
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" />
 
==<span id="bad_biorxiv">CheckKiểm tra giá trị |biorxiv= value</span>==
 
<section begin=bad_biorxiv_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|biorxiv=</code> value</span>
 
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>)
Dòng 148:
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" />
 
==<span id="bad_citeseerx">CheckKiểm tra giá trị |citeseerx= value</span>==
 
<section begin=bad_citeseerx_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <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.
Dòng 309:
|}
 
==<span id="bad_doi">CheckKiểm tra giá trị |doi= value</span>==
<section begin=bad_doi_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|doi=</code> value</span>
 
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.
Dòng 318:
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" />
 
==<span id="bad_hdl">CheckKiểm tra giá trị |hdl= value</span>==
<section begin=bad_hdl_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|hdl=</code> value</span>
 
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.
Dòng 327:
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" />
 
==<span id="bad_isbn">CheckKiểm tra giá trị |isbn= value</span>==
<section begin=bad_isbn_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|isbn=</code> value: <type></span>
 
{{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]].
Dòng 354:
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có lỗi ISBN]].<ref group="lower-alpha" name="categories" /><section end="bad_isbn_help_text" /><!-- See [[bugzilla:47049]] about {{FULLPAGENAME}}, category pagenames containing ISBN, and #ifeq: -->
 
==<span id="bad_ismn">CheckKiểm tra giá trị |ismn= value</span>==
<section begin=bad_ismn_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|ismn=</code> value=</span>
 
{{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.
Dòng 363:
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" />
 
==<span id="bad_issn">CheckKiểm tra giá trị |issn= value</span>==
<section begin=bad_issn_help_text />{{help desk}}<div class="plainlist">
*<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|issn=</code> value=</span>
*<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|eissn=</code> value=</span></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]]. The ISSN and eISSN are always rendered as two four-digit numbers separated with a hyphen.
Dòng 374:
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: -->
 
==<span id="bad_jfm">CheckKiểm tra giá trị |jfm= value</span>==
<section begin=bad_jfm_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|jfm=</code> value</span>
 
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.
Dòng 411:
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Lỗi CS1: LCCN]].<ref group="lower-alpha" name="categories" /><section end="bad_lccn_help_text" />
 
==<span id="bad_message_id">CheckKiểm tra giá trị |message-id= value</span>==
<section begin=bad_message_id_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|message-id=</code> value</span>
 
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 <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.
Dòng 422:
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" />
 
==<span id="bad_mr">CheckKiểm tra giá trị |mr= value</span>==
<section begin=bad_mr_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|mr=</code> value</span>
 
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.
Dòng 431:
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" />
 
==<span id="bad_oclc">CheckKiểm tra giá trị |oclc= value</span>==
<section begin=bad_oclc_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|oclc=</code> value</span>
 
The {{para|oclc}} parameter is the [[OCLC]] identifier. Only a single OCLC identifier is allowed. The identifier must be in one of these forms:
Dòng 448:
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: OCLC | Category:CS1 errors: OCLC | [[:Category:CS1 errors: OCLC]]}}.<ref group="lower-alpha" name="categories" /><section end="bad_oclc_help_text" />
 
==<span id="bad_ol">CheckKiểm tra giá trị |ol= value</span>==
<section begin=bad_ol_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|ol=</code> value</span>
 
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.
Dòng 457:
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: OL | Category:CS1 errors: OL | [[:Category:CS1 errors: OL]]}}.<ref group="lower-alpha" name="categories" /><section end="bad_ol_help_text" />
 
==<span id="bad_paramlink">CheckKiểm tra giá trị |&lt;param>-link= value</span>==
<section begin=bad_paramlink_help_text />{{help desk}}<div class="plainlist">
*<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|<param>-link=</code> value</span>
*<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|<param>=</code> value</span></div>
 
These link-holding parameters and their matching title-holding parameters are combined to create a working [[wikilink]] to a related article.
Dòng 507:
Các trang có lỗi này được tự động xếp vào {{#ifeq: {{FULLPAGENAME}} | Category:CS1 errors: parameter link | Category:CS1 errors: parameter link | [[:Category:CS1 errors: parameter link]]}}.<ref group="lower-alpha" name="categories" /><section end="bad_paramlink_help_text" />
 
==<span id="bad_pmc">CheckKiểm tra giá trị |pmc= value</span>==
<section begin=bad_pmc_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|pmc=</code> value</span>
 
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.
Dòng 516:
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" />
 
==<span id="bad_pmid">CheckKiểm tra giá trị |pmid= value</span>==
<section begin=bad_pmid_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|pmid=</code> value</span>
 
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.
Dòng 525:
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" />
 
==<span id="bad_ssrn">CheckKiểm tra giá trị |ssrn= value</span>==
<section begin=bad_ssrn_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|ssrn=</code> value</span>
 
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.
Dòng 534:
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" />
 
==<span id="bad_url">CheckKiểm tra giá trị |url= value</span>==
<section begin=bad_url_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|url=</code> value</span>
 
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-summary}}, 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.
Dòng 554:
Các trang có lỗi này được tự động xếp vào [[:Thể loại:Trang có lỗi URL]].<ref group="lower-alpha" name="categories" /><section end="bad_url_help_text" />
 
==<span id="bad_zbl">CheckKiểm tra giá trị |zbl= value</span>==
<section begin=bad_zbl_help_text />{{help desk}}<span class="error">CheckKiểm tra giá trị <code style="color:inherit; border:inherit; padding:inherit;">|zbl=</code> value</span>
 
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.