Page MenuHomePhabricator

"file-deleted-duplicate" error message shows raw parameter placeholders when attempting to upload previously-deleted file
Closed, DuplicatePublicBUG REPORT

Description

I attempted to upload an image to Wikimedia Commons; this resulted in an error message saying:

A file identical to this file ([[:$1]]) has previously been deleted. You should check that file's [https://commons.wikimedia.org/wiki/Special:Log/delete?type=delete&page={{urlencode:$1|WIKI}} deletion history]. If you disagree with the reason for deletion, please make an [[Commons:Undeletion requests|undeletion request]] instead of re-uploading.

Naturally, I was unable to do as requested.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Pigsonthewing renamed this task from Malformed error mesage when attemptng to upload prevsouly-deleted fie to Malformed error message when attempting to upload previously-deleted file.Jul 3 2020, 7:13 PM

Hi @Pigsonthewing, please always follow https://www.mediawiki.org/wiki/How_to_report_a_bug when creating tasks and include clear steps.
Is this about UploadWizard? Special:Upload? Some external tool?
Can you upload the test case file here?

This was using the upload wizard.

The file was the uncropped version of https://commons.wikimedia.org/wiki/File:Faberg%C3%A9_N%C3%A9cessaire_egg.jpg (which I re-uploaded having determined that it is "PD-anon-70"

Aklapper renamed this task from Malformed error message when attempting to upload previously-deleted file to "file-deleted-duplicate" error message shows raw HTML when attempting to upload previously-deleted file.Jul 4 2020, 6:36 AM
Aklapper renamed this task from "file-deleted-duplicate" error message shows raw HTML when attempting to upload previously-deleted file to "file-deleted-duplicate" error message shows raw parameter placeholders when attempting to upload previously-deleted file.
Aklapper added a project: MediaWiki-Uploading.
Tgr subscribed.

Presumably file-deleted-duplicate needs to be rendered somewhere as parsed (wikitext) instead of plaintext.

MarkTraceur subscribed.

n.b. the task I just merged this into says "for Flickr uploads", I will update the description to mention this also happens for normal file uploads as well.

The task into which this was merged is unchanged since 17 August 2020.

@Pigsonthewing: Such comments are not helpful as anybody could see that anyway.