Last modified: 2013-02-05 11:47:13 UTC
[[Special:Upload]]: Type a destination file name > Select s source (file selection or URL) > The typed name is overwritten. upload.js > toggleFilenameFiller() and fillDestFilename(id) try to avoid this behaviour but are not working properly: var destName = document.getElementById('wpDestFile').value; if (destName=='' || destName==' ') { wgUploadAutoFill = true; } else { wgUploadAutoFill = false; } The destination file name is always replaced.
Solution: upload.js > function fillDestFilename(id) { if (!wgUploadAutoFill) { return; } Correct: if (wgUploadAutoFill)
Confirming.