Page MenuHomePhabricator

refreshImageMetadata.php maintenance script should handle oldimage.oi_metadata and filearchive.fa_metadata (in addition to image.img_metadata)
Open, LowPublic

Description

refreshImageMetadata.php maintenance script should handle oldimage.oi_metadata and filearchive.fa_metadata (in addition to image.img_metadata).

Event Timeline

matmarex created this task.Jul 16 2016, 9:33 PM
Restricted Application added projects: Multimedia, Commons. · View Herald TranscriptJul 16 2016, 9:33 PM
Restricted Application added subscribers: Zppix, Steinsplitter, Aklapper. · View Herald Transcript
matmarex triaged this task as High priority.
Restricted Application added subscribers: Poyekhali, Matanya. · View Herald TranscriptJul 18 2016, 10:17 PM
matmarex lowered the priority of this task from High to Normal.Aug 1 2016, 1:41 PM
matmarex removed matmarex as the assignee of this task.Aug 4 2016, 7:28 PM
matmarex lowered the priority of this task from Normal to Low.

I have looked into this today and it looks a lot worse than it seemed. We really have very different handling for current revision, old revisions and deleted revisions of files. It would be easy enough to just triplicate everything, but that would be horrible for future maintenance; and I don't really know enough about our upload backend code to come up with a sensible way of sharing this functionality.

So I'm throwing the towel and hereby deciding that this is not so important. We never display the metadata for old or deleted revisions, so for MediaWiki, it's enough to make sure they are updated when a file is undeleted or reverted. I'm doing this in https://gerrit.wikimedia.org/r/302973, and if anyone ever wants to analyze metadata for historical revisions, well, they'll have to sort it out themselves.

MarkTraceur moved this task from Untriaged to Tracking on the Multimedia board.Dec 2 2016, 9:21 PM
Ramsey-WMF moved this task from Tracking to Desired epics on the Multimedia board.Oct 3 2017, 12:26 AM
Ramsey-WMF moved this task from Desired epics to Tracking on the Multimedia board.