Open main menu

Category:CS1 errors: missing name


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. This category is a replacement for Category:CS1 errors: missing author or editor. When that category is empty, it shall be deleted.

|<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]


NotesEdit

  1. 1.0 1.1 Pages in the Book talk, Category talk, Draft, Draft talk, Education Program talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, TimedText talk, User, User talk, and Wikipedia talk namespaces are not included in the error tracking categories.