Page MenuHomePhabricator

Special:UploadWizard Commons file name conflicts produces server error "7"
Closed, ResolvedPublic

Description

The file that I was trying to upload in the screenshot was the same as [[commons:File:21 February 2008 lunar eclipse from Los Angeles, California.jpg]]. It turns out any attempts to upload a file have the same name as a file already present on commons produces the same error. Perhaps a less technical error message to the uploader, something generic and probably customized (another MediaWiki: file?) would point out the source of this problem.


Version: unspecified
Severity: enhancement
URL: http://test.wikipedia.org/wiki/File:Upload_wizard_test_1_by_TeleComNasSprVen.JPG

Details

Reference
bz27270

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:20 PM
bzimport added a project: UploadWizard.
bzimport set Reference to bz27270.
bzimport added a subscriber: Unknown Object (MLST).

Hi!

Recently, a patch to MediaWiki core [0] changed the behavior of API warnings. We now get those at the first step, even if we don't handle them necessarily.

Could you try to reproduce this bug, and let us know if it still occurs? If so, the solution would likely be very different from before this patch.

[0] https://gerrit.wikimedia.org/r/#/c/9261/

Thanks!

I think this is fixed, whenever I try to upload a duplicate file I see a nice message "There is another file already on the site with the same content."

Closing this, please reopen if I were wrong.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:27 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:22 AM