-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add Library of Congress NAF as Author identifier #9812
Add Library of Congress NAF as Author identifier #9812
Conversation
Adds Library of Congress Name Authority File (LC NAF) as an Author identifier. The `label` has been shortened to just “Library of Congress” to avoid having an obscenely long label in the drop-down lists and also avoid obscure acronyms (“NAF”) in it that are likely to cause more confusion than clarity. The URI identifiers given by LoC themselves start with “http://” but I have opted to use “https://” for the `url` so patrons etc. won’t need a redirect or similar to get to the page. Closes internetarchive#9791
Adds an entry for `loc_naf` (Library of Congress Name Authority File) identifiers to the `identifierPatterns` lookup table to enable autoselection when entering the identifiers.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #9812 +/- ##
==========================================
+ Coverage 16.06% 16.45% +0.39%
==========================================
Files 90 91 +1
Lines 4769 4897 +128
Branches 832 853 +21
==========================================
+ Hits 766 806 +40
- Misses 3480 3557 +77
- Partials 523 534 +11 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling this! Just a couple of small suggestions...
Per internetarchive#9812 (comment) Co-authored-by: Tom Morris <tfmorris@gmail.com>
Per internetarchive#9812 (comment) Co-authored-by: Tom Morris <tfmorris@gmail.com>
Closes #9791
feature
Technical
Adds Library of Congress Name Authority File (LC NAF) as an Author identifier in
author/identifiers.yml
.The
label
has been shortened to just “Library of Congress” to avoid having an obscenely long label in the drop-down lists and also avoid obscure acronyms (“NAF”) in it that are likely to cause more confusion than clarity.The URI identifiers given by LoC themselves start with “http://” but I have opted to use “https://” for the
url
so patrons etc. won’t need a redirect or similar to get to the page.Update: Also added an entry for autoselection of LoC when added the ID on the author editing page.
Testing
no97027235
) and verify that the LoC entry gets selectedloc_naf
identifier gets shown on the Author pageStakeholders
@mekarpeles