Page MenuHomePhabricator

UploadWizard on Commons should show same file name warning
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Select two files for upload
  • In the Describe page, enter the same name in Title field for both files
  • Click on Publish files

What happens?:
The error message says "There is one error with the forms above. Correct the error, and try submitting again." but doesn't tell the user what the error is about.

What should have happened instead?:

This should ideally say the files names are same and ask the user to change the names or agree to have a unique number appended at the end of file name (used to happen by default if I'm not wrong?)

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Firefox 125.0.

Event Timeline

Saiphani02 renamed this task from Upload Wizard on Commons doesn't show same file name warning and to Upload Wizard on Commons doesn't show same file name warning .Aug 20 2024, 8:46 AM
Aklapper renamed this task from Upload Wizard on Commons doesn't show same file name warning to UploadWizard on Commons should show same file name warning.Aug 20 2024, 1:32 PM
Aklapper changed the subtype of this task from "Bug Report" to "Feature Request".

@Aklapper This should trigger "mwe-upwiz-error-title-duplicate" message which it is currently not doing for some reason. It is instead triggering a "mwe-upwiz-details-error-count" message. So it is indeed a bug report and not a feature request if im not wrong?

Aklapper changed the subtype of this task from "Feature Request" to "Bug Report".Aug 26 2024, 10:33 AM

Ah, thanks for the analysis!

Etonkovidova claimed this task.
Etonkovidova subscribed.

Re-checked the current behavior for mwe-upwiz-error-title-duplicate message on commons wmf.23 and commons beta. The issue seems not be present anymore. The current behavior

  • a user enters the same Title for two files and clicks on Publish button
  • a page will scroll up to the error message mwe-upwiz-error-title-duplicate :
    Screen Shot 2025-04-07 at 10.38.18 AM.png (918×2 px, 557 KB)
  • the general error message "Please correct all errors in the form..." is also displayed at the bottom of the page and the button titled "Go to error on the page" is displayed. A user may click on it and the page will scroll up to the error.

Marking the issue as Resolved.