diff --git a/src/NodaWikidataFetcher.php b/src/NodaWikidataFetcher.php index 11e6aa6..4019bc7 100644 --- a/src/NodaWikidataFetcher.php +++ b/src/NodaWikidataFetcher.php @@ -588,6 +588,10 @@ final class NodaWikidataFetcher { $output = true; break; + case "keep": + $newDesc = $cinfo['persinst_kurzinfo']; + break; + case "replace": $updatePersinstStmt->bind_param("si", $datafromwiki, $persinst_id); @@ -974,6 +978,8 @@ final class NodaWikidataFetcher { case "keep": $datafromwiki = $curPlaceInfo['ort_anmerkung']; break; + case "replace": + break; default: $tlLoader = new MDTlLoader("wiki_getter_place", $preflang); echo self::generateHTMLHeadForWikidataFetcher($lang); @@ -1381,6 +1387,10 @@ final class NodaWikidataFetcher { $output = true; break; + case "keep": + $newDesc = $cinfo['tag_anmerkung']; + break; + case "replace": $updateTagDescStmt->bind_param("si", $datafromwiki, $tag_id);