Category:CS1 errors: archive-url

From finiki, the Canadian financial wiki

This is a tracking category for CS1 citations that have errors due to the incorrect use of |archive-url=, |archive-date=, |url-status=, and/or |dead-url=. In general, the CS1 citations emit error messages that identify the type of error. {{Cite web}} does not emit error messages for all error conditions though malformed {{cite web}} templates are included in Category:Pages with archiveurl citation errors.

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

Template:Error-small – the archive.org URL is the save command
Template:Error-smallweb/ was expected but something else was found
Template:Error-small – the timestamp portion of the URL path is not 14 digits
Template:Error-small – the flag portion of the URL path (if present; new form URLs only) is not 2 lowercase letters followed by an underscore: 'id_'
Template:Error-smallliveweb.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.[a]

  • |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.[a]

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.[a]


Notes

  1. ^ a b c 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.


References

  1. ^ a b "archive.org website". Internet Archive.
  2. ^ a b "webcitation.org website". WebCite.

This category currently contains no pages or media.