montage icon indicating copy to clipboard operation
montage copied to clipboard

Read author and upload date from the first version of the file

Open atsirlin opened this issue 6 years ago • 4 comments

Currently, Montage imports the latest version of the file available on Commons. However, one should retrieve the author and upload date from the first version, because only the first version is relevant for the disqualification by author or date.

atsirlin avatar Oct 05 '19 21:10 atsirlin

Montage loads file info from the image table, where the img_actor is the user who uploaded the most recent version. It should check the oldimage table for the previous uploader(s). (If there is only one version of a file, then it won't be in oldimage.)

Do we want to save any other info from previous versions in oldimage? Should we use that date for disqualification purposes too?

We should probably write a clean up script too, to see if this an issue in any ongoing campaigns.

slaporte avatar Oct 08 '19 05:10 slaporte

Yes, we should use the initial upload date for disqualification.

atsirlin avatar Oct 08 '19 07:10 atsirlin

I have an idea for a simple fix, but I need to test tomorrow before deploying. I want to make sure this doesn't slow down the import process or mess with anything else.

slaporte avatar Oct 08 '19 07:10 slaporte

@slaporte Has this been solved?

ferdi2005 avatar Oct 02 '21 12:10 ferdi2005