Map d-nb.de/info to GND

This commit is contained in:
Joshua Ramon Enslin 2023-10-15 03:07:59 +02:00
parent 446dd78bec
commit 3fb3ee4edd
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -67,6 +67,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
'O-GND' => self::gnd, 'O-GND' => self::gnd,
'http://d-nb.info/gnd' => self::gnd, 'http://d-nb.info/gnd' => self::gnd,
'http://d-nb.info/gnd/' => self::gnd, 'http://d-nb.info/gnd/' => self::gnd,
'd-nb.info' => self::gnd,
'grobsystematik' => self::grobsystematik, 'grobsystematik' => self::grobsystematik,
'iconclass' => self::iconclass, 'iconclass' => self::iconclass,
'klbb' => self::klbb, 'klbb' => self::klbb,
@ -499,6 +500,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
$validation = strtr($id, [ $validation = strtr($id, [
'https://de.wikipedia.org/wiki/' => '', 'https://de.wikipedia.org/wiki/' => '',
'https://en.wikipedia.org/wiki/' => '', 'https://en.wikipedia.org/wiki/' => '',
'https://fr.wikipedia.org/wiki/' => '',
'https://sv.wikipedia.org/wiki/' => '', 'https://sv.wikipedia.org/wiki/' => '',
'https://ru.wikipedia.org/wiki/' => '', 'https://ru.wikipedia.org/wiki/' => '',
]); ]);