hatnote/montage

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

atsirlin opened this issue · 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.

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.

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

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 Has this been solved?