Jump to content

Category:CS1 errors: missing name

From Wikipedia, the free encyclopedia

This is a tracking category for CS1 citations that have name-list errors. The name lists are associated with the |author=, |contributor=, |editor=, |interviewer=, |translator= parameters and their aliases.

|<first>n= missing |<last>n=

Citation Style 1 and Citation Style 2 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]

Missing |<name>n=

So that all names are listed in a rendered citation, Citation Style 1 and Citation Style 2 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]


Notes

[edit]
  1. ^ a b Pages in the Category talk, Draft 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 tracking categories. In addition, pages with names matching the patterns '/[Ss]andbox', '/[Tt]estcases', '/[^/]*[Ll]og', and '/[Aa]rchive' are not included in the tracking categories.

Pages in category "CS1 errors: missing name"

The following 70 pages are in this category, out of 70 total. This list may not reflect recent changes.