[16:47:41] probably-stupid-question: in this upload path, what's the "langfr-" doing? /wikipedia/commons/thumb/6/66/Armoiries_de_Marseille.svg/langfr-250px-Armoiries_de_Marseille.svg.png [16:48:37] I'd normally expect Armoiries_de_Marseille.svg/250px-Armoiries_de_Marseille.svg.png for thumbnail paths [16:52:25] Ah, well, I find it on https://fr.wikipedia.org/wiki/Marseille in the infobox [16:53:02] looks like frwiki is adding that to some/all(?) of its thumbs [16:53:56] Emperor: my understanding is that it's somehow possible to translate text in svg files, so probably related to that? [16:55:12] Ah, that could be it. [16:56:20] not all wikis do so (e.g. fa.wikipedia just links to https://upload.wikimedia.org/wikipedia/commons/thumb/6/66/Armoiries_de_Marseille.svg/250px-Armoiries_de_Marseille.svg.png ) [16:57:16] hmm, core's SvgHandler::makeParamString() seems to add that with all languages other than english? [16:59:58] taavi: doesn't seem to have on the images on https://fa.wikipedia.org/wiki/%D9%85%D8%A7%D8%B1%D8%B3%DB%8C [17:00:14] I've spotted fr and de in the logs thus far [17:01:32] taavi: I've tried a few other languages at random and not found the lang- prefix [17:01:51] have found langar-1024 in the logs [17:02:13] (also ru, ja, so it's obviously quite a few) [17:03:37] * Emperor adds a note to T408715 [17:07:11] yeah, it's text translation in SVGs: see this example for it in action https://commons.wikimedia.org/w/index.php?lang=es&title=File%3AMultilingual_SVG_example.svg [17:07:37] I just generated a fresh one here https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Multilingual_SVG_example.svg/langes-640px-Multilingual_SVG_example.svg.png [17:15:43] I'm slightly confused as to how/when it ends up being used (e.g. fr.w seems to use it even when no translation needed, at least some wikis seem not to), but that's probably not super-iimportant to understand for what I'm actually caring about. [17:17:16] oh that's an odd one - I suspect that's the browser language being passed somehow causing another thumb to be generated. There might be invisible text that has translations or something similar? [17:17:45] I have a bit of a gift that you might not like [17:17:46] https://gerrit.wikimedia.org/r/plugins/gitiles/operations/software/thumbor-plugins/+/refs/heads/master/wikimedia_thumbor/handler/images/images.py#136 [17:18:42] I can't verify how whether all of those are used, but afaik that is exhaustive for what we would feasibly generate [17:19:27] svg language handling in thumbor is a mess, there is an open patch to make it a bit better but rolling it out would be best done by the owners [17:46:17] * Emperor decides that can wait 'til Monday :) [17:46:54] * hnowlan nods [17:47:11] lmk if I can help clarify anything thumbor-shaped