ප්‍රවර්ගය:CS1 errors: invisible characters

විකිපීඩියා වෙතින්

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:

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.

Zero-width joiner characters (U+200D) are used as a valid part of emoji modification (for example, adding a skull emoji to a flag emoji to create a pirate flag emoji). When new modifiers are added to the emoji character set, which happens one or two times per year, those modifiers need to be added to the Citation Style 1 "Configuration" module. Editors can request this addition at Help talk:Citation Style 1.

<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 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 (70 pages).[lower-alpha 1]


Notes[සංස්කරණය]

  1. 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.

"CS1 errors: invisible characters" ප්‍රවර්ගයට අයත් පිටු

මෙම ප්‍රවර්ගය සතු සමස්ත පිටු 70 අතර, පහත දැක්වෙන පිටු 70 ද වෙති.