https://bugzilla.wikimedia.org/show_bug.cgi?id=31341
Neil Kandalgaonkar <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #8 from Neil Kandalgaonkar <[email protected]> 2011-12-07 01:51:15 UTC --- The current fix seems to have an off-by-one error and a few other problems. For all below cases, in LocalSettings.php $wgUploadWizardConfig['maxUploads'] = 5 1) Off by one error: - Uploading files, selected File1..10.jpg - Dialog triggered correctly, saying I had 10 files and 5 would be dropped - However, only File1..4 were shown. - At this point, the "Add another upload" button was still enabled - Adding another upload brings the total to 5. No dialog is shown saying any will be dropped. "Add another upload" button is disabled. So that seems to work. 2) Does not track current total - Add 3 files to UploadWizard, successful as usual - Add 5 more - Dialog triggered, incorrectly stating: "You can only upload 5 files at once. You tried to add 8 files, so 3 files have been removed." It would be more correct to say: "You can only upload 5 files at once. You tried to upload 8 files in total, so 3 files have been removed". -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
