https://bugzilla.wikimedia.org/show_bug.cgi?id=37450
Web browser: ---
Bug #: 37450
Summary: Upload: Don't update typed destination name on source
selection
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Special pages
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
[[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.
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l