MediaViewer tries to guess the name of the thumbnail to win a few hundred milliseconds (see getUrl here), but doesn't replace the file name with "thumbnail" when it's over the abbreviation threshold (see FileRepo::nameForThumb(). Requires exposing FileRepo::$abbrvThreshold in the filerepo API.
Priority is super low unless this turns out to be the cause of T106517.