Minor typing improvements
This commit is contained in:
@ -829,7 +829,7 @@ final class NodaWikidataFetcher {
|
||||
$tDescription = "";
|
||||
}
|
||||
|
||||
if ($tDescription !== '' && !empty($desc_cleaned = self::_cleanWikidataInput($tDescription))) {
|
||||
if (!empty($titleFromWikipedia) && !empty($tDescription) && !empty($desc_cleaned = self::_cleanWikidataInput($tDescription))) {
|
||||
# $descs[$lang] = $tDescription;
|
||||
$output[$lang] = [
|
||||
'label' => $titleFromWikipedia,
|
||||
|
Reference in New Issue
Block a user