Category:CS1 errors: DOI

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



This is a tracking category for CS1 citations that have |doi= errors.

Information icon.svg Help desk

Check |doi= value

When Citation Style 1 and Citation Style 2 templates contain |doi=, a test is done to see if the prefix portion of the DOI value is correctly formatted and has what appears to be a valid registrant code. A proper doi prefix begins with the 10. directory indicator. The remaining portion of the prefix is a string of digits and the dot character which form the registrant code. When the directory indicator is 10., the cs1|2 templates test for a valid registrant code. Valid registrant codes:

  • must be composed of digits
  • must be in the range:
    • 1000–9999
    • 10000–49999
  • may have one or more subcodes that begin with a dot followed by digits (1000.10)
  • must not be 5555 (invalid/temporary/test)

Additionally, the |doi= value is checked to make sure that it does not contain spaces, en dashes, does not end with punctuation. Further validation of the DOI is not performed.

Do not include the https://doi.org/ scheme and domain name from a url. A proper |doi= value looks like |doi=10.1103/PhysRevLett.80.904.

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

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


Notes[change | change source]

  1. Pages in the Book talk, Category talk, Draft talk, Education Program 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 error tracking categories.

References[change | change source]

This category currently contains no pages or media.