Use /entity/ links for referencing Wikidata over /wiki/; allow linking

from GND explorer

Close #32
This commit is contained in:
jrenslin committed 2024-09-12 17:06:30 +02:00
1 parent bdb9bb16f5
commit dc1c72aeda
2 files changed
+4 -2

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ public function testValidIdsValidate():void {
self::assertEquals("102423008", MDNodaRepository::gnd->validateId("http://d-nb.info/gnd/102423008"));
self::assertEquals("102423008", MDNodaRepository::gnd->validateId("http://d-nb.info/gnd/ 102423008"));
self::assertEquals("1037602218", MDNodaRepository::gnd->validateId("http://d-nb.info/gnd/1037602218"));
self::assertEquals("1037602218", MDNodaRepository::gnd->validateId("https://explore.gnd.network/gnd/1037602218"));
self::assertEquals("102423008", MDNodaRepository::gnd->validateId("102423008"));
self::assertEquals(false, MDNodaRepository::gnd->validateId("fkld;s102423008"));