Fix bug caused by missing handling of different retrieval modes for
Wikidata fetcher
This commit is contained in:
parent
d5b593c334
commit
47226b6538
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user