Category:CS1 errors: invisible characters
This is a tracking category. It is used to build and maintain lists of pages—primarily for the sake of the lists themselves and their use in article and category maintenance. It is not part of the encyclopedia's categorization scheme.
More information:
|
Administrators: Please do not delete this category even if it is empty! This category may be empty occasionally or even most of the time. |
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:
- non-breaking space, U+00A0
- soft hyphen, U+00AD
- replacement character, U+FFFD
- hair space, U+200A
- zero width space, U+200B
- zero width joiner, U+200D
- 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. Most intentional white-space characters should be replaced with a normal space character (i.e. press your keyboard's space bar). See MOS:NBSP for guidance on insertion of intentional non-breaking spaces.
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. If you move through the citation with the arrow keys then the cursor may stand still once at an invisible character, which can be removed with Delete or ← Backspace. If you copy-paste a string to the "Characters" field at https://r12a.github.io/app-conversion/ and click "View in UniView" then the position and name of all characters is shown.
<name> stripmarker in |<param>=
at position n
Strip markers 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 strip markers are replaced with content before the final page rendering. The module ignores math and nowiki strip markers.
To resolve strip marker errors, remove or replace the identified tag. The error message identifies the strip marker'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 when calculating the position.
Strip marker errors can also be caused by unsupported additional text or templates in parameter values—for example, {{ISBN}} in |title=
. Resolve the problem by moving the extraneous text outside of the citation template, or by removing the extraneous text or template markup, as appropriate.
Pages with this error are automatically placed in Category:CS1 errors: invisible characters.[a]
Notes
[change | change source]- ↑ Pages in the Book talk, 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.
Contents: | Top – 0–9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
---|
Pages in category "CS1 errors: invisible characters"
The following 51 pages are in this category, out of 51 total.