Improve identification of lcsh links marked as loc links

This commit is contained in:
Joshua Ramon Enslin 2023-11-10 03:10:00 +01:00
parent be2f42677b
commit 8e0be0f80c
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -419,6 +419,8 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
$id = strtr($id, [ $id = strtr($id, [
'http://id.loc.gov/authorities/names/' => '', 'http://id.loc.gov/authorities/names/' => '',
'https://id.loc.gov/authorities/names/' => '', 'https://id.loc.gov/authorities/names/' => '',
'http://id.loc.gov/authorities/subjects/' => '',
'https://id.loc.gov/authorities/subjects/' => '',
]); ]);
} }