Hi. I posted this 9 months ago under Bugs: pmc, redundant urls, and ref tags. The only topic that was discussed when I posted this previously was the pmc accession number prefix (issue #1) and Redundant URLs (isssue #2) got lost in the discussion. Therefore I would like to raise the second undiscussed issue again, this time with more background.
Redundant url parameters are often added when there is another more appropriate and compact parameter that produces exactly the same link. Examples include:
- (url parameter → more appropriate specialized parameter)
-
|url=https://dx.doi.org/10.1016/S0092-8674(00)81781-X
→|doi=10.1016/S0092-8674(00)81781-X
-
|url=https://www.ncbi.nlm.nih.gov/pubmed/8111382
→|pmid=8111382
-
|url=https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5615317/
→|pmc=5615317
-
|url=https://www.worldcat.org/oclc/779244257
→|oclc=779244257
IMHO, Citoid should check the url, and if it matches any of the above patterns, then the more specialized parameter should be populated and the url parameter should be left blank. As it stands now, Citoid is adding both the specialized parameter and the redundant url parameter.