On 29/06/07, Tim Starling
<tstarling(a)wikimedia.org> wrote:
Brianna Laugher wrote:
Formerly, the user only got this page if they
were overwriting an
existing file, and ordinarily they would be taken straight to the new
image page. Now it comes up if the file is being uploaded for the
first time.
I've changed it back to the previous behaviour now. But are we sure we
don't just want it to redirect all the time? We don't display a success
message on page edit, do we? Presumably the same applies here, the user
can see in the file history that their file has been uploaded correctly.
I got a
response from 4 users about this, who all said that the page
could be done without. One suggested that for overwriting, just one
line could appear at the top of the image page as notification.
I just checked in a javascript function that will show a warning on
the upload page itself (that is, before you even click "upload file")
if there is already a file with that filename. The message will be
turned on and off when you edit the destination filename manually, as
well.