[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 Adam Cuerden cuer...@gmail.com changed: What|Removed |Added CC||cuer...@gmail.com --- Comment #16 from Adam Cuerden cuer...@gmail.com --- My only suggestion here is that, if a filename has a different MIME type to its suggested extension, surely that should be enough for an are you sure? prompt first, as it might well be that the uploader is uploading the wrong file. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #15 from Platonides platoni...@gmail.com --- bug 40326 seems a different bug. Comment 13 summary seems correct but I would only change the uploader. Renaming is a more manual process, and I am sure there will be cases where there's a desire to override that detection. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 Jesús Martínez Novo (Ciencia Al Poder) martinezn...@gmail.com changed: What|Removed |Added See Also||https://bugzilla.wikimedia. ||org/show_bug.cgi?id=32660 -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 Jesús Martínez Novo (Ciencia Al Poder) martinezn...@gmail.com changed: What|Removed |Added See Also||https://bugzilla.wikimedia. ||org/show_bug.cgi?id=29284 -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #14 from Marco maic...@yahoo.com --- I think this can be closed as RESOLVED-DUPLICATE of bug 40326 -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #13 from johnnymrni...@gmail.com --- Just to summarize (got a bit off-track up there): 1.We would maintain a list of accepted mime types and their preferred file extension. 2.Files would automatically receive an extension based on their mime type. 3.Files that are uploaded with known extensions that do no match would be renamed after a prompt (Renaming to 'Dog.gif'. Do you wish to continue?) 4.File names would not be otherwise modified. If a file is named dog.gif.png and it is a JPEG, it would be renamed dog.gif.jpg. If it was named dog.gif.cat, it would be uploaded as dog.gif.cat.jpg. For the purposes of this bug, the only things that would have to be modified are the file uploader, and file renaming/moving. This would not change how files are displayed or used, or even the nature of the filename. File redirects could still be manually created at these other extensions. It would just reduce the options at the time of upload, and potentially make other bugs easier to fix in the future. Is there anyone willing to theorize on how doable this is as a bug? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Priority|Unprioritized |Low Severity|normal |enhancement -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 Jarek Tuszynski jaroslaw.w.tuszyn...@saic.com changed: What|Removed |Added CC||Jaroslaw.W.Tuszynski@SAIC.c ||om --- Comment #7 from Jarek Tuszynski jaroslaw.w.tuszyn...@saic.com 2012-09-26 13:48:44 UTC --- Two Comments: 1) a Commons source of extension MIME type mismatch is the reupload feature. For example http://commons.wikimedia.org/wiki/File:Grb-Pozarevac.jpg was uploded as jpg and than someone reupload a gif over it. I guess reupload should not allow use of other MIME types and offer to upload it under a new name. 2) See http://commons.wikimedia.org/wiki/User:Dispenser/sandbox for examples of 1,625 other files with extension mismatch found on Commons. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 Platonides platoni...@gmail.com changed: What|Removed |Added CC||platoni...@gmail.com --- Comment #8 from Platonides platoni...@gmail.com 2012-09-26 13:54:13 UTC --- Jarek, Commons currently blocks you from uploading most files with a wrong mime type. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #9 from Jarek Tuszynski jaroslaw.w.tuszyn...@saic.com 2012-09-26 14:02:00 UTC --- But it does not block me from uploading (or reuploding) MIME:JPG file with .PNG extension, like http://commons.wikimedia.org/wiki/File:TPR2011.png uploaded this March. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #10 from Marco maic...@yahoo.com 2012-09-26 14:38:27 UTC --- (In reply to comment #9) I can't reproduce this behavior. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #11 from Jarek Tuszynski jaroslaw.w.tuszyn...@saic.com 2012-09-26 14:55:54 UTC --- I just tried and I can not reproduce it either. I tried new upload with extension mismatch and reupload. I guess someone fixed it since March when http://commons.wikimedia.org/wiki/File:TPR2011.png was uploaded. Status: Fixed? -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #12 from Waldir wal...@email.com 2012-09-26 15:01:35 UTC --- (In reply to comment #11) Status: Fixed? I think what is fixed is the reupload conflicts, not this bug which deals with first-time upload. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 johnnymrni...@gmail.com changed: What|Removed |Added Summary|File extensions should be |File extensions should be |automatically decided by|automatically decided by |MIME type |MIME type at upload -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #1 from johnnymrni...@gmail.com 2012-09-24 16:58:59 UTC --- Hopefully this should also prevent files with unknown or unsupported MIME types from being uploaded with a supported extension. So Trojan.XXX shouldn't be uploaded as Trojan.gif. This would mean a list of extensions that unknown MIME type uploads are checked against. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 Sven Manguard svenmangu...@gmail.com changed: What|Removed |Added CC||svenmangu...@gmail.com --- Comment #2 from Sven Manguard svenmangu...@gmail.com 2012-09-24 17:11:20 UTC --- This is fantastic. I recommend that you use the shortest form in all lowercase as the chosen extension (i.e. .jpg instead of .jpeg or .JPG. This is because .jpg is the most common variant for jpegs by a great deal, and .tif is the most common varient for tiffs by something of a large-ish margin. My one concern is the handling of .ogg and .ogv. These two can /occasionally/ but not always be used interchangeably, or at the very least, have been. We can't eliminate either, but we might (I lack the technical knowledge to tell for certain) run into problems with this. Thanks for doing this, Sven -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 Bawolff bawolff...@gmail.com changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #3 from Bawolff bawolff...@gmail.com 2012-09-24 17:26:58 UTC --- Say someone uploads a file named: esp. cute dogs.jpg Ignoring the fact commons probably doesn't need yet another pic of someone's puppies, the period denotes the esp is an abbreviation for especially. Under this proposal would you like us to A) prevent the file being uploaded B) Auto rename it to esp.jpg C) Magically recognize the . cute dogs is not an extension, and let it through. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #4 from johnnymrni...@gmail.com 2012-09-24 17:32:25 UTC --- (In reply to comment #2) This is fantastic. I recommend that you use the shortest form in all lowercase as the chosen extension (i.e. .jpg instead of .jpeg or .JPG. This is because .jpg is the most common variant for jpegs by a great deal, and .tif is the most common varient for tiffs by something of a large-ish margin. My one concern is the handling of .ogg and .ogv. These two can /occasionally/ but not always be used interchangeably, or at the very least, have been. We can't eliminate either, but we might (I lack the technical knowledge to tell for certain) run into problems with this. Thanks for doing this, Sven .ogg is used generically for the container format, but .ogv is designed solely for OGG video, and .oga is solely for OGG audio. As they have separate MIME types, there shouldn't be an issue. The main source of conflation is that OGG audio codec is called OGG Vorbis, so some people assume that the extension .ogv is for that (I know I did). Worst case, if there is some issue with OGG, or people are super-attached to the generic extension, the MIME type can be left alone for now. The vast majority of uploads are pictures, and I'd rather see only those issues resolved than none at all. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #5 from johnnymrni...@gmail.com 2012-09-24 17:36:04 UTC --- (In reply to comment #3) Say someone uploads a file named: esp. cute dogs.jpg Ignoring the fact commons probably doesn't need yet another pic of someone's puppies, the period denotes the esp is an abbreviation for especially. Under this proposal would you like us to A) prevent the file being uploaded B) Auto rename it to esp.jpg C) Magically recognize the . cute dogs is not an extension, and let it through. The software already knows which extensions belong to which MIME types, it's not magic. As . cute dogs is not an extension, there would be no issue. There is no reason to attack every period, only known extensions. Even unknown extensions should be safe, as long as their MIME type is equally unknown. If the MIME type is known, it's appended. So if a JPEG is uploaded as esp. cute dogs.dog, it would become esp. cute dogs.dog.jpg, and the uploaded is asked if they wish to continue. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 40479] File extensions should be automatically decided by MIME type at upload
https://bugzilla.wikimedia.org/show_bug.cgi?id=40479 --- Comment #6 from johnnymrni...@gmail.com 2012-09-24 17:42:20 UTC --- To be absolutely clear, this should only relate to extensions at the end of the file. So exe.gif.png.jpg would be a fine name for a JPEG, if bizarre. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l