spotters: logo coverage script (Wikidata logo/icon, multi-language infobox, website icon fallback), cheaper planes operator queries, refresh adds logos for new orgs
All checks were successful
Deploy production / deploy (push) Successful in 1m9s

This commit is contained in:
2026-10-25 13:54:27 +00:00
parent 7d6cee26a8
commit 5e4cd83748
8 changed files with 577 additions and 19 deletions

View File

@@ -1112,7 +1112,8 @@ async function main() {
wikipedia = ${l?.article ?? brandPick.get(b.slug)?.article ?? null},
logo = ${l?.photo.thumb ?? null}, logo_file = ${l?.photo.file ?? null},
logo_license = ${l?.photo.license ?? null}, logo_author = ${l?.photo.author ?? null}
where slug = ${b.slug} and (${!missingOnly} or logo is null)`;
where slug = ${b.slug} and (${!missingOnly} or logo is null)
and not (${!l?.photo} and logo like '/spotters/logos/%')`;
}
}
// Brand hero photo: the lead photo of its most common model that has one.