Wikidata input broken in browser
Closed this issue · 0 comments
larsgw commented
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
- Go to https://citation.js.org/demo
- Input
Q30000000
in any field or typeCite('Q30000000')
in the DevTools console - There should now be warnings that this input type isn't recognised