Improve identification of lcsh links marked as loc links
This commit is contained in:
1 file changed
+2
@@ -419,6 +419,8 @@ private static function validateLocId(string $id):string|false {
|
||||
$id = strtr($id, [
|
||||
'http://id.loc.gov/authorities/names/' => '',
|
||||
'https://id.loc.gov/authorities/names/' => '',
|
||||
'http://id.loc.gov/authorities/subjects/' => '',
|
||||
'https://id.loc.gov/authorities/subjects/' => '',
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user