Transcoding failed:
https://commons.wikimedia.org/wiki/File:%D0%9F%D1%80%D0%B5%D0%B7%D0%B8%D0%B4%D0%B5%D0%BD%D1%82_%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D0%B8_%E2%80%94_2016-01-14_%E2%80%94_%D0%97%D0%B0%D1%81%D0%B5%D0%B4%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BD%D0%B0%D0%B1%D0%BB%D1%8E%D0%B4%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B3%D0%BE_%D1%81%D0%BE%D0%B2%D0%B5%D1%82%D0%B0_%D0%90%D0%B3%D0%B5%D0%BD%D1%82%D1%81%D1%82%D0%B2%D0%B0_%D1%81%D1%82%D1%80%D0%B0%D1%82%D0%B5%D0%B3%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BD%D0%B8%D1%86%D0%B8%D0%B0%D1%82%D0%B8%D0%B2.webm
File:Президент России — 2016-01-14 — Заседание наблюдательного совета Агентства стратегических инициатив.webm
Description
Details
Related Objects
Event Timeline
Looks related to old bug T57658 -- perhaps the calculation for the fix there is off.
Per the comment:
* Swift has problems where the url-encoded version of * the path (ie 'filename.ogv/filename.ogv.720p.webm' ) * is greater that > 1024 bytes, so shorten in that case.
The calculation used in the actual comparison before shortening the filename is this:
if ( strlen( urlencode( $name ) ) * 2 + 12 > 1024 ) {
return 'transcode' . '.' . $suffix;
} else {
return $name . '.' . $suffix;
}which here gives us false:
php > echo strlen(urlencode('Президент_России_—_2016-01-14_—_Заседание_наблюдательного_совета_Агентства_стратегических_инициатив.webm')) * 2 + 12;
1022So TMH thinks it *can* save the filename, hitting 1022 chars which is under the 1024-char limit.
Possibility: I suspect the "b/b5/" might count in that length too, which would push it to 1031 bytes.
Change 331985 had a related patch set uploaded (by Brion VIBBER):
Fix length calculation for shortening transcode filenames
Change 331985 merged by jenkins-bot:
Fix length calculation for shortening transcode filenames
Change 332009 had a related patch set uploaded (by Paladox):
Fix length calculation for shortening transcode filenames
Change 332009 abandoned by Chad:
Fix length calculation for shortening transcode filenames
Reason:
Already included in wmf.8, which is live everywhere.