Page MenuHomePhabricator

Generate upload log entry when duplicate file uploaded
Open, LowPublic


Author: Eugene.Zelenko

I think will be good idea to generate upload log entry when duplicate file uploaded.

I this case such uploads will be visible to admins and automatic bot processing will be possible without traversing all files.

See also T16171 for other useful application of such logging.

See Also:
T16171: Allow Special:FileDuplicateSearch to match against previously deleted images
T21565: Add more variables to AbuseFilter file uploading evaluation



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:08 PM
bzimport added a project: MediaWiki-Uploading.
bzimport set Reference to bz14417.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Jun 5 2008, 5:59 PM

How do you define a "duplicate"? By checksum?
Which exact "upload log" (URL) does this refer to?

Eugene.Zelenko wrote:

I think checksum is best way to find duplicate.

I meant type=upload for log.

jayvdb added a comment.Oct 7 2014, 5:43 AM

Could duplicate file detection be done in AbuseFilter, which would allow logging, and pre-programmed management? It appears it has the sha as a variable. See

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:03 PM
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:03 PM
gpaumier removed a subscriber: gpaumier.Jul 18 2018, 6:02 PM
Dinoguy1000 updated the task description. (Show Details)Jan 10 2019, 3:54 PM