[Bug 34703] Unable to change file extension while uploading file

2012-12-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

Marek Blahuš wikipe...@blahus.cz changed:

   What|Removed |Added

 CC||wikipe...@blahus.cz

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34703] Unable to change file extension while uploading file

2012-12-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

--- Comment #8 from Marek Blahuš wikipe...@blahus.cz ---
I have pointed to a related problem like Marcin Cieślak (my camera generates
.JPG files and UW does not allow me to normalize this to .jpg) in bug 40326.
That bug, however, is receiving a treatment somewhat different from what I
originally wished.

I am fine with Mark Holmquist's solution, because I do not see any rationale
for which someone would might like having a file with extensions like .JpG,
.Jpg or even .JPG, if we all agree that .jpg is the normalized letter case (and
perhaps even spelling – cf. .jpeg and its variants).

Furthermore, the discussion at bug 40326 reveals that there actually already
exists the practice of promoting a normalized extension, which is .jpg in
this case. Therefore, the solution proposed by Mark Holmquist would actually
resolve what bug 40326 was in fact originally about.

I am glad that somebody else in concerned with this as well and wants to do
something abou it, and I hope that things will go on rolling in the right
direction.

-- 
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 34703] Unable to change file extension while uploading file

2012-08-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

--- Comment #4 from Marcin Cieślak marcin.cies...@gmail.com 2012-08-07 
19:47:34 UTC ---
Thanks for taking this up.

I would say the dropdown is an overkill.

Maybe just extension added at the end of the filename with the dot. However, it
might be difficult to determine whether the intention was to add an extension
or some dotted segment (some.file.name - do we accept this?). 

Maybe if the filename ends with . + one of the allowed extensions, it is left
as-is?

-- 
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 34703] Unable to change file extension while uploading file

2012-08-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

--- Comment #5 from Mark Holmquist mtrac...@member.fsf.org 2012-08-07 
19:51:51 UTC ---
Hm. A big concern of mine is that less-experienced users might see an error
message like incompatible filetype and not know what to do. For those users,
it would almost certainly be nicer to not even allow the mistakes that might
cause the error. We already have plenty of confusing error messages in UW, I'm
not about to add another one!

The more I think about this, the more I think it might be better to solve this
problem with a server-side configuration setting--let the site admins specify
that they want all file extensions (upper|lower)case, and then perform that
operation on the client-side before upload. Maybe that's the way to solve this,
because there's no burden on the user whatsoever, and it would make things look
a lot more uniform.

Thoughts?

(also, I'm not currently working on this, but I might during the next UW
sprint, which is coming up soonish)

-- 
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 34703] Unable to change file extension while uploading file

2012-08-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

--- Comment #6 from Marcin Cieślak marcin.cies...@gmail.com 2012-08-07 
20:08:30 UTC ---
We already have http://www.mediawiki.org/wiki/Manual:$wgFileExtensions
plus we have also a pretty complex MIME/content type detection mechanism (see
also http://www.mediawiki.org/wiki/File_upload)

some.file - uploaded as (autodetected), add default extension
file.jpg  - uploaded as the JPEG file, keep JPG extension
file.jpeg - uploaded as the JPEG file, keep JPEG extension
file.svg  - uploaded as the SVG file, keep SVG extension

But there is a problem too, suppose I want to upload today

some.file.webm - upload as (autodected), I will probably get an error

but once bug 30653 is fixed, it will become:

some.file.webm - upload as WebM file, use .webm extension

do you think this is too confusing?

(however, to add some confusion, there is bug 38927 as well, did bug 30653 got
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 34703] Unable to change file extension while uploading file

2012-08-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

--- Comment #7 from Mark Holmquist mtrac...@member.fsf.org 2012-08-07 
20:13:15 UTC ---
I don't understand what any of that has to do with this.

The solution I just suggested would not affect anything like what files you
could/couldn't upload, it would just be if the file extension (the string
after the last '.' in the filename) is upper case, make it lower case. That's
the only thing I think we need, plus another parallel solution for making it
upper case. Would that be enough?

We could also add a config option for funneling, e.g., 'jpeg' - 'jpg'.

-- 
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 34703] Unable to change file extension while uploading file

2012-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

--- Comment #3 from Mark Holmquist mtrac...@member.fsf.org 2012-08-06 
16:38:14 UTC ---
OK, that makes some sense. So maybe having arrays of names that are compatible
with each other, then offering to switch between them (dropdown after the
filename field?) during the details step. I'll see what I can do.

-- 
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 34703] Unable to change file extension while uploading file

2012-05-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

Mark Holmquist mtrac...@member.fsf.org changed:

   What|Removed |Added

 CC||mtrac...@member.fsf.org

--- Comment #1 from Mark Holmquist mtrac...@member.fsf.org 2012-05-11 
18:42:47 UTC ---
Something tells me this would be more easily, and more reliably, accomplished
on the client's side before the upload process is initiatedwhy would a user
need to change the file extension only after choosing the file?

-- 
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 34703] Unable to change file extension while uploading file

2012-02-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34703

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Low
 CC||m...@everybody.org

-- 
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