Category:CS1 errors: invisible characters

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This is a tracking category for CS1 and CS2 templates that have parameter values that contain invisible or non-printable characters.

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

replacement character, U+FFFD
hair space, U+200A
zero width space, U+200B
zero width joiner, U+200D (January 2018 note: text in Sinhalese reports this error due to a bug; a fix will be deployed in the first quarter of 2018)
soft hyphen, U+00AD
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. 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.

<name> stripmarker in |<param>= at position n

Stripmarkers 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 stripmarkers are replaced with content before the final page rendering. The module ignores math and nowiki stripmarkers.

To resolve stripmarker errors, remove or replace the identified tag. The error message identifies the stripmarker'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.

Pages with this error are automatically placed in Category:CS1 errors: invisible characters.[a]


Notes[edit]

  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.

Pages in category "CS1 errors: invisible characters"

The following 200 pages are in this category, out of approximately 1,085 total. This list may not reflect recent changes (learn more).

(previous page) (next page)

C

(previous page) (next page)