wikimedia/WLMMobile — pull request #195 by brion (2012-08-28 06:24:33+00:00)
Title: Bug 39571: truncate long filenames

* strip more evil chars
* changes filename format to "[truncated filtered name] DD-MM-YY HH-MM-SS.jpg"
* truncates to fit filenames in 240 UTF-8 bytes, cut in half, with extra wiggle room for thumb stuff

Includes a test case with a super long monument name from Belarus.