https://bugzilla.wikimedia.org/show_bug.cgi?id=36050

       Web browser: ---
             Bug #: 36050
           Summary: 255 character system filename limit prevents
                    generating thumbnails for files with long names
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Now it is possible to upload images with names as long as 255 characters into
MediaWiki.
It is correct, because filename length limit is such in most filesystems. 
But when MW generates thumbnails, it prepends thumbnail width to the filename
limit (in the '500px-' format). So if original file name is too long, the
thumbnail isn't generated because it's name length exceeds the limit.
I suggest cutting thumbnail filenames and submitted a patch to Gerrit:
https://gerrit.wikimedia.org/r/#change,5213

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to