User:Ucucha/anchorencodebug

From Wikipedia, the free encyclopedia
Examples
Wikitext Output
{{cite journal|doi=10.1002/(SICI)1098-2345(1998)45:3<225::AID-AJP1>3.0.CO;2-Y|title=Cranial allometry and geographic variation in slow lorises (Nycticebus)|year=1998|last1=Ravosa|first1=Matthew J.|journal=American Journal of Primatology|volume=45|issue=3|pages=225–43|pmid=9651647}} Ravosa, Matthew J. (1998). "Cranial allometry and geographic variation in slow lorises (Nycticebus)". American Journal of Primatology. 45 (3): 225–43. doi:10.1002/(SICI)1098-2345(1998)45:3<225::AID-AJP1>3.0.CO;2-Y. PMID 9651647. S2CID 20144250.}}
{{Cite journal | last1 = Ravosa | first1 = M. J. | title = Cranial allometry and geographic variation in slow lorises (''Nycticebus'') | doi = 10.1002/(SICI)1098-2345(1998)45:3<225::AID-AJP1>3.0.CO;2-Y | journal = American Journal of Primatology | volume = 45 | issue = 3 | pages = 225–243 | year = 1998 | pmid = 9651647| pmc = | ref = harv}} Ravosa, M. J. (1998). "Cranial allometry and geographic variation in slow lorises (Nycticebus)". American Journal of Primatology. 45 (3): 225–243. doi:10.1002/(SICI)1098-2345(1998)45:3<225::AID-AJP1>3.0.CO;2-Y. PMID 9651647. S2CID 20144250.

Compare (whitespace added for clarity):

10.1002/  (  SICI)  1098-2345(  1998)  45:3<  225::AID-AJP1>  3.0.CO;  2-Y (actual DOI)
10.1002.2F.28SICI.291098-2345.281998.2945:3                   3.0.CO.3B2-Y (version produced by anchorencode)
10.1002.2F.28SICI.291098-2345.281998.2945:3.3C225::AID-AJP1.3E3.0.CO.3B2-Y (correctly encoded DOI)