Author: mark_sweep
Description:
Consider adding support for Digital Object Identifiers in wikitext. This would
be done by supporting the "doi:" URI scheme in addition to "http:", which is
already treated specially.
For example, a string "doi:10.1000/186" in wikitext would be transformed into
"<a href="http://dx.doi.org/10.1000/186">doi:10.1000/186</a>" in HTML.
A few WP articles use DOIs in references -- e.g.
[http://en.wikipedia.org/wiki/Kurtosis] -- by using standard external links.
Here is an overview of the DOI URI representation:
[http://www.doi.org/factsheets/DOIIdentifierSpecs.html]
The specification of DOI names is here:
[http://www.doi.org/handbook_2000/appendix_1.html#A1-4]. As far as specs go,
this one is a bit vague. I'm not sure I understand how to recognize the end of
a DOI. It says a DOI consists of "legal *graphic* characters of Unicode 2.0 or
greater" (emphasis added). Not sure if the graphic characters include
whitespace, or even if "graphic character" is a meaningful term defined in
Unicode. I've never seen DOIs with embedded whitespace. Also, a DOI might have
to be URL encoded when it's converted to a http: URI. I don't have any test
cases for that, sorry.
Version: unspecified
Severity: enhancement