Will probably will need to fix flake and tox errors and will remove the draft status afterwards
The next PR will add the ability to batch the PRs
Description
Please include a summary of the change, relevant motivation and context. If possible and applicable, include before and after screenshots and a URL where the changes can be seen.
Adds support for searching Crossref for the 20 most recent papers on a disease, taxon, gene or protein and sends these results to the tool I've developed to find their presence in Wikidata and creating Quickstatements if they are found
Roadmap:
2337 Adding support for multiple IDs
2340 Adding support for DOIs to Quickstatements
This PR: Adding a button to curation pages to find if there are recent papers which can be created on Wikidata
Next PRs:
Upgrading citations.js (haven't been able to figure out) and potentially contributing some stuff upstream
Ability to select which entries to copy/send to quickstatements
Add checking whether Wikidata entries can be enriched
Caveats
Please list anything which has been left out of this PR or which should be considered before this PR is accepted
Check any of the following which apply:
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] I have made corresponding changes to the documentation
[ ] This change requires new dependencies (please list)
If you make changes to the Python code
[ ] My code passes the tox check, I can receive warnings about tests, documentation or both
Testing
Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. Please also list any relevant details for your test configuration.
Test A
Test B
Checklist
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] I have not used code from external sources without attribution
[ ] I have considered accessibility in my implementation
[ ] There are no remaining debug statements (print, console.log, ...)
Related to #1855
Rebased version of #2342
Note:
Description
Adds support for searching Crossref for the 20 most recent papers on a disease, taxon, gene or protein and sends these results to the tool I've developed to find their presence in Wikidata and creating Quickstatements if they are found
Roadmap:
2337 Adding support for multiple IDs
2340 Adding support for DOIs to Quickstatements
This PR: Adding a button to curation pages to find if there are recent papers which can be created on Wikidata
Next PRs:
Caveats
If you make changes to the Python code
Testing
Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. Please also list any relevant details for your test configuration.
Checklist