Compare commits
	
		
			2 Commits
		
	
	
		
			18438251a7
			...
			338e09f001
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						338e09f001
	
				 | 
					
					
						|||
| 
						
						
							
						
						4cf9eaf4fa
	
				 | 
					
					
						
@@ -1164,7 +1164,7 @@ final class NodaIDGetter {
 | 
				
			|||||||
                $output['actor'][] = $persinst_id;
 | 
					                $output['actor'][] = $persinst_id;
 | 
				
			||||||
                ++$output['count'];
 | 
					                ++$output['count'];
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            else if (($persinst_id = NodaIDGetter::getPersinstIDByAnyTransName($mysqli_noda, $phrase, '', '')) !== 0 && !in_array($persinst_id, $output['actor'], true)) {
 | 
					            else if (($persinst_id = NodaIDGetter::getPersinstIDByAnyTransName($mysqli_noda, $phrase)) !== 0 && !in_array($persinst_id, $output['actor'], true)) {
 | 
				
			||||||
                $output['actor'][] = $persinst_id;
 | 
					                $output['actor'][] = $persinst_id;
 | 
				
			||||||
                ++$output['count'];
 | 
					                ++$output['count'];
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,7 +18,7 @@ final class NodaWikidataFetcher {
 | 
				
			|||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public const LANGUAGES_MAIN_DESC = ['de', 'da', 'en', 'es', 'fr', 'hu', 'it', 'jp', 'nl', 'pt', 'ru', 'sv', 'sk', 'uk', 'zh'];
 | 
					    public const LANGUAGES_MAIN_DESC = ['de', 'da', 'en', 'es', 'fr', 'hu', 'it', 'jp', 'nl', 'pt', 'ru', 'sv', 'sk', 'uk', 'zh'];
 | 
				
			||||||
    public const LANGUAGES_TO_CHECK = ['ar', 'bg', 'bn', 'cs', 'da', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fr', 'ha', 'he', 'hi', 'hu', 'id', 'it', 'ja', 'ka', 'ko', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'sk', 'sw', 'ta', 'te', 'th', 'tl', 'tr', 'uk', 'ur', 'vi', 'zh'];
 | 
					    public const LANGUAGES_TO_CHECK = ['ar', 'bg', 'bn', 'cs', 'da', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fr', 'ha', 'he', 'hi', 'hu', 'id', 'it', 'ja', 'ka', 'kn', 'ko', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'sk', 'sw', 'ta', 'te', 'th', 'tl', 'tr', 'uk', 'ur', 'vi', 'zh'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public const LANGUAGES_TO_CAPITALIZE = ["cs", "da", "de", "en", "es", "fr", "fi", "id", "it", "nl", "pl", "pt", "ru", "sv", 'sk', "tl", "tr"];
 | 
					    public const LANGUAGES_TO_CAPITALIZE = ["cs", "da", "de", "en", "es", "fr", "fi", "id", "it", "nl", "pl", "pt", "ru", "sv", 'sk', "tl", "tr"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user