wpoa / OA-signalling

A project to coordinate implementing a system to signal whether references cited on Wikipedia are free to reuse
https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Open_Access/Signalling_OA-ness
GNU General Public License v3.0
20 stars 4 forks source link

Establish a workflow for testing inclusion/ exclusion of DOI prefixes for import #138

Open Daniel-Mietchen opened 7 years ago

Daniel-Mietchen commented 7 years ago

Could not find that piece of code right now, but somewhere, we did have a whitelist akin to https://github.com/wpoa/open-access-media-importer/blob/1841042bad826b9d05165b0a3ee84b37a8a0cb88/helpers/config.py#L85 , which contained DOI prefixes of some selected publishers.

To experiment with inclusion of materials from other publishers, users of recitation bot should be able to configure which DOI prefixes they want to whitelist.

For instance, if 10.1038 were whitelisted, then articles like https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4806330/ (i.e. https://dx.doi.org/10.1038/srep23711 ) could be imported too.

afandian commented 7 years ago

(I'm sure you know this, but there isn't a one-to-one mapping between prefixes and publishers, or even a many-to-one. But it's a useful heuristic.)