cars: keep MAZDA2/JAECOO7 names (no false typo strip), canonical upload.wikimedia.org thumbs, tidier gallery captions/credits
All checks were successful
Deploy production / deploy (push) Successful in 2m34s

This commit is contained in:
2026-10-24 16:54:14 +00:00
parent bf0a1e1d2a
commit 7636f0b2bc
3 changed files with 49 additions and 20 deletions

View File

@@ -405,7 +405,10 @@ function toPhoto(
file,
kind,
caption,
thumb: info.thumburl,
// Canonical host, no tracking query: https://upload.wikimedia.org/.../960px-<file>
thumb: info.thumburl
.replace(/\?.*$/, '')
.replace('//thumb.wikimedia.org/', '//upload.wikimedia.org/'),
width: info.width,
height: info.height,
author,