vicuna icon indicating copy to clipboard operation
vicuna copied to clipboard

Grey out files that are already on Commons

Open nicolas-raoul opened this issue 10 years ago • 2 comments

I often don't remember what files I have already uploaded. So I spend a lot of time writing descriptions, and finding categories, for nothing.

It would be great if Vicuna could grey out files that have already been uploaded, so that I don't waste time filling their metadata.

Ideally it would calculate the checksum of the file and check against a database of all Commons files (if that exists) or a local database of checksums of files uploaded by me.

nicolas-raoul avatar May 19 '15 03:05 nicolas-raoul

I have an idea how to deal with this. We actually need a sync process to compare Commons (or the target wiki) with the sessions/projects/images stored locally and inform the user about what has changed, what is already on Commons, what got deleted, renamed, and so on.

Bigger project, maybe we could even fit this into Vicuńa one day if @yarl doesn't mind :)

saper avatar May 19 '15 07:05 saper

Commons has an API that can easily tell you whether a file is present on Commons already or not.

Just send the checksum via an HTTP request, and receive the result: present or not.

Details: http://opendata.stackexchange.com/a/7314/754

nicolas-raoul avatar Mar 16 '16 15:03 nicolas-raoul