Skip to top
Skip to bottom

This page describes the error messages reported by the Citation Style 1 and Citation Style 2 citations, what they mean, and how editors might resolve the errors. Category:CS1 errors is the general errors category and Category:CS1 maintenance is the general maintenance category.

Errors issued by Wikipedia’s <ref> system, in which citation templates are typically embedded, can be found at Help:Cite errors.

Controlling error message display

Error and maintenance messages

By default, Citation Style 1 and Citation Style 2 error messages are visible to all readers and maintenance messages are hidden from all readers.

To display maintenance messages, include the following text in your common CSS page or your specific skin’s CSS page (common.css and skin.css respectively):

.mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */

To display hidden-by-default error messages:

.mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden Citation Style 1 error messages */

Even with this CSS installed, older pages in Wikipedia’s cache may not have been updated to show these error messages even though the page is listed in one of the tracking categories. A null edit will resolve that issue.

To hide normally-displayed error messages:

.mw-parser-output span.cs1-visible-error {display: none;} /* hide Citation Style 1 error messages */

You can personalize the display of these messages (such as changing the color), but you will need to ask someone who knows CSS or at the technical village pump if you do not understand how.

Properties category highlighting

Module:Citation/CS1 adds properties categories to some CS1|2 citations. Unlike errors or maintenance needs, there is no message when a properties category is added. Properties categories may be temporary or may be perpetual. Editors can use CSS to add special styling to CS1|2 template renderings that will highlight a citation that added a properties category. For example, this template uses a long volume name:

{{cite book |title=Title |date=May–Jun 2021 |volume = 1: Long volume}}
Title. Vol. 1: Long volume. May–Jun 2021.

If you add this to your CSS that citation will render with a pale yellow background:

.cs1-prop-long-vol {background: #FFC;}

Add one or more of these (with appropriate styling) to your CSS to highlight template renderings when when those templates add the associated properties category:

.cs1-prop-foreign-lang-source {} – subcategories of Category:CS1 foreign language sources
.cs1-prop-foreign-lang-source-2 {}Category:CS1 foreign language sources (ISO 639-2)
.cs1-prop-jul-greg-uncertainty {}Category:CS1: Julian–Gregorian uncertainty
.cs1-prop-location-test {}Category:CS1 location test‎
.cs1-prop-long-vol {}Category:CS1: long volume value
.cs1-prop-script {} – subcategories of Category:CS1 uses foreign language script‎
.cs1-prop-tracked-param {} – subcategories of Category:CS1 tracked parameters
.cs1-prop-year-range-abbreviated {}Category:CS1: abbreviated year range‎


Most common errors

|access-date= requires |url=

|access-date= requires |url=

The |access-date= is the date that the online resource addressed by |url= was added to the article. If |access-date= has been included in the citation without |url= then this message appears. If the citation does not use a web link, then |access-date= is redundant and should be removed.

When the online resource has a publication or other fixed date associated with it, |access-date= is of limited value though may be useful in identifying an appropriate archived version of the resource. Without |url=, |access-date= is not considered useful.

To resolve this error, provide a value for |url= or remove |access-date=. Editors should try to determine why the citation has |access-date= without |url=. For example, the citation may never have had a |url=, or |url= may have been removed because it links to a site that violates the creator’s copyright (see WP:COPYLINK), or because |url= was deemed to be dead. If the citation never had |url= or it was removed for copyright violations, remove |access-date=. When a dead |url= has been removed, restore the |url= and if possible repair it (see WP:LINKROT).

Pages with this error are automatically placed in Category:CS1 errors: access-date without URL (1,471 pages).[a]

|archive-url= is malformed

|archive-url= is malformed: <reason>

Archive.org allows a variety of URLs to access snapshots of an archived page. Some of these are:

https://web.archive.org/web/YYYYMMDDhhmmss/http://www.example.com – a single snapshot; this is the preferred form for use with |archive-url=
https://web.archive.org/web/*/http://www.example.com – a wildcard search results page; useful for locating an appropriate snapshot but not appropriate in a citation
https://web.archive.org/web/201603/http://www.example.com – incomplete timestamp; archive.org returns the most recent snapshot
https://web.archive.org/save/http://www.example.com – saves a new snapshot of the current target; do not use this form

There are two forms of the basic URL:

https://web.archive.org/<timestamp>/... – the old form
https://web.archive.org/web/<timestamp><flags>/... – the new form

The error message identifies the reason for the message. The reasons are:

save command – the archive.org URL is the save command
pathweb/ was expected but something else was found
timestamp – the timestamp portion of the URL path is not 14 digits
flag – the flag portion of the URL path (if present; new form URLs only) is not 2 lowercase letters followed by an underscore: ‘id_’
livewebliveweb.archive.org is a deprecated form of the domain name

When the archive.org URL has any of these errors, Module:Citation/CS1 does not link to archive.org in normal article view and emits an appropriate error message.

However, in article preview mode, the module creates a modified link to archive.org that uses a partial timestamp with * wildcard suffix. This new URL links to an archive.org calendar view so that editors may more easily select a suitable archived snapshot from those available at archive.org to fix the malformed |archive-url= link. (If no snapshots have been archived at archive.org, and the cited page is still live, this link also allows editors to save the first snapshot of the page at archive.org.)

To resolve this error, choose the URL of an appropriate snapshot from those held at archive.org. Search for the target URL at archive.org.

Pages with this error are automatically placed in Category:CS1 errors: archive-url (106 pages).[a]

|archive-url= requires |archive-date=

|archive-url= requires |archive-date=

|archive-date=, identifies the date that the web resource was archived.

To resolve this error, provide a value for |archive-date= (see acceptable date formats in MOS:DATEFORMAT). For web resources archived at archive.org,[1] the archival date can be found in the |archive-url=; for resources archived at webcitation.org,[2] the cache date is included in the archive header.

Pages with this error are automatically placed in Category:CS1 errors: archive-url (106 pages).[a]

|archive-url= requires |url=

|archive-url= requires |url=

A properly formatted citation that includes |archive-url= and |archive-date= requires |url=. When the citation includes |url-status=live, the ordering of elements in the rendered citation is changed to put the original URL first.

To resolve this error, provide a value for |url=. For web resources archived at archive.org,[1] the original URL can be found in the |archive-url= value; for resources archived at webcitation.org,[2] the original URL is included in the archive header.

Pages with this error are automatically placed in Category:CS1 errors: archive-url (106 pages).[a]

|arxiv= required

|arxiv= required

{{cite arXiv}} requires one, but not both, of the identifier parameters |arxiv= or |eprint= to specify an arXiv identifier.

To resolve this error, ensure that the template has |arxiv= or |eprint= with a properly constructed value.

Pages with this error are automatically placed in Category:CS1 errors: arXiv (1 page).[a]

|asin-tld= requires |asin=

|asin-tld= requires |asin=

When |asin-tld= is used in a CS1|2 template, |asin= (with value) must also be present.

To resolve this error, either add the missing ASIN or remove the ‘broken’ parameter.

Pages with this error are automatically placed in Category:CS1 errors: ASIN TLD (0 pages).[a]

|biorxiv= required

|biorxiv= required

{{cite bioRxiv}} requires the identifier parameter |biorxiv=.

To resolve this error, ensure that the template has |biorxiv= with a properly constructed value.

Pages with this error are automatically placed in Category:CS1 errors: bioRxiv (0 pages).[a]

|chapter= ignored

|chapter= ignored

Citation Style 1 templates {{cite web}}, {{cite news}}, {{cite journal}}, {{cite press release}}, {{cite podcast}}, {{cite newsgroup}}, as well as template {{citation}} when it uses |work= or any of its aliases, do not support |chapter= or the aliases |contribution=, |entry=, |article=, or |section=.

To resolve this error:

  • use a more appropriate citation template, or
  • place the content of the |chapter= parameter in |title=, or
  • for {{cite news}}, |department= can be used to give the name of the newspaper’s section, such as “Obituaries”, or
  • for {{citation}}, remove |work= or its aliases such as |website= and place their content in |title= if appropriate

Pages with this error are automatically placed in Category:CS1 errors: chapter ignored (1 page).[a]

<char> character in |<param>= at position nInformation icon.svg Help desk

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

<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 (3 pages).[a]

Check |arxiv= value

Check |arxiv= value

When Citation Style 1 and Citation Style 2 templates contain |arxiv=, a test is done to see if the arXiv identifier conforms with the arXiv identifier scheme.[3] The identifier is checked for a valid number of digits in the article id; valid year and month values; and properly-placed hyphens, slashes, and dots.

To resolve this error, ensure that the |arxiv= value is correct.

Pages with this error are automatically placed in Category:CS1 errors: arXiv (1 page).[a]

Check |asin= value

Check |asin= value

When Citation Style 1 and Citation Style 2 templates contain |asin=, a test is done to see if the ASIN identifier contains ten upper-case alphanumeric characters without punctuation or spaces and that if the first character is numeric, that the ASIN conforms to the rules for a ten-digit ISBN.

To resolve this error, ensure that the |asin= value is correct.

If the |asin= value is correct and all-numeric, use |isbn= instead and delete any |asin-tld= parameters. Articles with CS1 citations that use |asin= with all numeric values are categorized in Category:CS1 maint: ASIN uses ISBN.

Pages with this error are automatically placed in Category:CS1 errors: ASIN (0 pages).[a]

Check |asin-tld= value

Check |asin-tld= value

Citation Style 1 and Citation Style 2 templates contain a test for known |asin-tld= values to specify the top-level domain (TLD) of a given ASIN identifier link. The list of currently supported values is:

ae, au, br, ca, cn, de, es, fr, in, it, jp, mx, nl, pl, sa, se, sg, tr, uk

It is not necessary to provide |asin-tld= to specify the default (United States). If you want to specify this condition explicitly, a pseudo-value of us can be given to denote this.

All these values are automatically resolved to the correct TLD following one of the schemes nn, com.nn, co.nn, z.nn, and com.

If an unsupported value is encountered, the template will issue this error message.

To resolve this error, ensure that the |asin-tld= value is correct.

If the value is correct, please report this at Help talk:Citation Style 1, so that it can be added to the list of supported values.

Pages with this error are automatically placed in Category:CS1 errors: ASIN TLD (0 pages).[a]

Check |bibcode= <message>Information icon.svg Help desk

Check |bibcode= <message>

When Citation Style 1 and Citation Style 2 templates contain |bibcode=, a test is done to see if the bibcode identifier has the proper format.[4] Bibcodes are expected to match these requirements:

length must be 19 characters (<message> = ‘length‘)
characters in position(s): (except as specified otherwise, violations produce ‘value‘ in the <message> portion of the error message):
1–4 must be digits and must represent a year in the range of 1000 – next year (<message> = ‘year‘)
5 must be a letter
6–8 must be a letter, ampersand, or dot (ampersand cannot directly precede a dot; &. (<message> = ‘journal‘))
9 must be a letter or dot
10–18 must be a letter, digit, or dot
19 must be a letter or dot

To resolve this error, ensure that the |bibcode= value is correct.

Pages with this error are automatically placed in Category:CS1 errors: bibcode (1 page).[a]

Check |biorxiv= value

Check |biorxiv= value

When Citation Style 1 and Citation Style 2 templates contain |biorxiv=, a test is done to see if the bioRxiv identifier has the proper form. There are two valid forms, each beginning with bioRxiv’s doi directory indicator and registrant code (10.1101) and followed by:

six numeric characters without punctuation or spaces:
|biorxiv=10.1101/######
###### – 6-digit bioRxiv identifier
ymd format date prefix followed by six numeric characters without punctuation or spaces followed by optional version:
|biorxiv=10.1101/yyyy.mm.dd.######v# where:
yyyy.mm.dd. – represents a date no earlier than 11 December 2019 (2019.12.11.) and no later than tomorrow’s date; date must be a valid date
###### – 6-digit bioRxiv identifier
v# – optional version indicator

A common error is to include the bioRxiv URL (https://dx.doi.org/10.1101/######}}).

To resolve this error, ensure that the |biorxiv= value is correct.

Pages with this error are automatically placed in Category:CS1 errors: bioRxiv (0 pages).[a]

Check |citeseerx= value

Check |citeseerx= value

When Citation Style 1 and Citation Style 2 templates contain |citeseerx=, a test is done to see if the CiteSeerX identifier has the proper format. The expected identifier is the value assigned to the ?doi= query key in the URL of a CiteSeerX document. (This query key should not be confused with a Digital Object Identifier: it should not be input as |doi=.)

For instance, if you want to link to http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.220.7880, use |citeseerx=10.1.1.220.7880.

Pages with this error are automatically placed in Category:CS1 errors: citeseerx (0 pages).[a]

Check date values in: |<param1>=, |<param2>=, …Information icon.svg Help desk