Page MenuHomePhabricator

Update queries based on templatelinks migration to use linktarget
Closed, ResolvedPublic

Description

tl_namespace (and tl_title) were removed in mw 1.39. The new path is to go via the linktarget table.

Queries using either of these columns need to be updated.

Details

Event Timeline

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

[labs/tools/heritage@master] Update queries using templatelinks table

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

Change 937889 merged by jenkins-bot:

[labs/tools/heritage@master] Update queries using templatelinks table

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

@JeanFred I see that there are some local changes on heritage (check_emailable_users.py and database_config.default.yml) unsure if they should be kept or not so not deploying this just yet.

@JeanFred I see that there are some local changes on heritage (check_emailable_users.py and database_config.default.yml) unsure if they should be kept or not so not deploying this just yet.

Right, sorry about that. I reverted the local changes, and filed https://gerrit.wikimedia.org/r/c/labs/tools/heritage/+/951148 for one of them. We can deploy now :)

Multichill renamed this task from Update queries based on templatelinks migration to use linktaget to Update queries based on templatelinks migration to use linktarget.Nov 2 2025, 3:30 PM
Multichill subscribed.

Any more work needed or is this done?

Aklapper subscribed.

No reply; assuming this should be resolved