Citation.js converts formats like BibTeX, Wikidata JSON and ContentMine JSON to CSL-JSON to convert to other formats like APA, Vancouver and back to BibTeX.
Wikidata input seems to be broken in browser only, specifically recognising the API url. On top of that, it doesn't seem to interpret the JSON result correctly. It works fine in Node.js. It probably has been broken for a while, but I never thought of the test case failing as an indication. Another reason to remove all the places where Citation.js just silently fails (e.g. #130).
Wikidata input seems to be broken in browser only, specifically recognising the API url. On top of that, it doesn't seem to interpret the JSON result correctly. It works fine in Node.js. It probably has been broken for a while, but I never thought of the test case failing as an indication. Another reason to remove all the places where Citation.js just silently fails (e.g. #130).
Reproduce
Q30000000
in any field or typeCite('Q30000000')
in the DevTools console