Last modified: 2009-01-27 17:02:20 UTC
If the user cannot upload files because they are not logged in they are linked to a log-in page on the pop-up, after logging in they are not taken back to the correct special page. In fact, it would probably be ideal for a log-in page to not be offered at all as it would cause issues with the edit page as well.
Needs changes to the MW-core as the same problem occurs with the regular upload form!
Added a var to the JS. If the user isn't allowed to upload, he will get a JS error message telling him to log in when (s)he presses the 'Upload Image/Attachment' button. Change will be submitted tonight to SVN
Fixed in r46356