New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong "is instance" for preprint #136
Comments
I forgot to check whether this is already fixed. We are seeing the error in Scholia WDscholia/scholia#1704 |
Current master: $ citation-js -t https://doi.org/10.1101/2021.07.28.21261159 | python -m json.tool | grep '"type"'
"type": "manuscript",
"type": "@doi/api",
"type": "@csl/list+object" |
The CrossRef API is (still!) returning invalid CSL-JSON. They are using the type |
Would this be better: https://www.wikidata.org/wiki/Q2376293. It is also call a "manuscript". |
The CSL documentation says this about
So I think the issue lies more with the CrossRef data. I can make a workaround in Citation.js, though I'd prefer CrossRef fixed their API of course. By the way, the mappings to Wikidata are based on the exact match (P2888) statements (query) |
In Scholia we got manuscript: 'Q87167' This should/could be I am not immediately able to see where that line comes from in the citation-js code |
This seems to be fixed in v0.5.3, not sure why I kept it open. |
For instance, https://www.medrxiv.org/content/10.1101/2021.08.15.21262067 results in manuscript (document written by hand). https://www.wikidata.org/w/index.php?title=Q109622851&oldid=1529788551
I would have expected that is should be something else, e.g., preprint.
The text was updated successfully, but these errors were encountered: