Page MenuHomePhabricator

Update queries using image or oldimage tables
Closed, ResolvedPublic

Description

On the 28th of May the image and oldimage tables go away <1>.

We should investigate if and where these tables are used in the heritage repo and update these queries.

Migration info can be found via T28741

Event Timeline

Quixk code search identifies these two:

  • api/includes/ContestStatsBuilder.php uses it, that is however a service saving WLM 2011!! stats. So might just be worth dropping it (and related classes)
  • erfgoedbot/check_emailable_users.py - to identify uploader

There are additional occcurences in the tools/ directory (ranking, wlmlast, gallery-all). But those are already broken from before (neither using the actor or the linktarget tables). Worth having an active decision whether to keep and maintain or drop these tools.

Change #1275114 had a related patch set uploaded (by Lokal Profil; author: Lokal Profil):

[labs/tools/heritage@master] Port check_emailable_users image lookup to file/filerevision join

https://gerrit.wikimedia.org/r/1275114

Change #1275114 merged by jenkins-bot:

[labs/tools/heritage@master] Port check_emailable_users image lookup to file/filerevision join

https://gerrit.wikimedia.org/r/1275114

Lokal_Profil claimed this task.