DOIs truncated at first '<' when entered into the searchbox
Describe the bug The main search box truncates DOIs at first '<'
To Reproduce Steps to reproduce the behavior:
- Go to https://pubmed.ncbi.nlm.nih.gov/9336221/ and confirm that the DOI there is in fact a valid, working DOI
- Cut and paste the DOI into the scholia front page
- See that everything after the '<' has been truncated
- Observe that the document the DOI points to is actually already in wikidata: https://scholia.toolforge.org/work/Q29616105
Expected behavior The full DOI "10.1002/(sici)1096-9861(19971020)387:2<167::aid-cne1>3.0.co;2-z." appears
https://academic.oup.com/jmammal/article/83/3/674/2373162 is another example, from a different publisher.
These DOIs are derived from the SICI standard (now retired), see https://en.wikipedia.org/wiki/Serial_Item_and_Contribution_Identifier
It appears that all of these contain a '<' and will fail.
Is the issue still present for you? I'm not seeing what you describe as the full DOI in the search box as of today, see screenshot from Firefox. As the search box now shows the full DOI, but the suggestions preview is not returning a suggestion.
What I do notice is the search preview suggestions list states "no results" yet hitting enter to do the search returns the correct Q because it exists in Wikidata. So this issue may have been resolved as reported, but an issue still exists in terms of the search suggestion lookup.
Initial
Second example
This must be solved with https://github.com/WDscholia/scholia/pull/2695
There are several searches: The Wikidata API search and the search in Scholia where we identify the query (or some part of it) as a DOI and search on that extracted DOI. I suppose this might not be entirely obvious for a user. hmm... I am taking the liberty to close the issue as the main problem has been solved.