Page MenuHomePhabricator

Enable the iterative way of refreshing LinkRecommendations for all wikis
Closed, ResolvedPublic2 Estimated Story Points

Description

In the context of the parent task, we created the functionality to iterate through all the articles of a wiki and check them for link suggestions.

This was enabled for a first set of wikis: fr, es, fa, arz, cs, pt, and id via the GELinkRecommendationsRefreshByIteratingThroughAllTitles configuration option. So far, we have not reeived any negative feedback and it has led to a lot more suggestions in those wikis without making any of the risk-predicting metrics noticeably worse.

Since it doesn't seem to cause any problems, let's enable it on all wikis.

Acceptance criteria:

  • actually enable the iterative mode for all wikis
  • clean up the per-topic mode related code

Event Timeline

Copying my comment from the parent T386250:

Since we enabled the new way of doing things a while ago and things are looking good so far, we maybe can take the next step and enable it on a bunch more wikis.

My suggestion, separated by db-sections would be:

Section 1:

  • enwiki?

Section 2:

  • itwiki
  • nlwiki

Section 5:

  • dewiki
  • srwiki
  • shwiki

Section 6:

  • ruwiki

Section 7:

  • cawiki
  • heviki
  • viwiki

it has led to a lot more suggestions in those wikis without making any of the risk-predicting metrics noticeably worse.

Based on that, is this something we can do in the next sprint to continue improving Link Recommendation efficiency?

it has led to a lot more suggestions in those wikis without making any of the risk-predicting metrics noticeably worse.

Based on that, is this something we can do in the next sprint to continue improving Link Recommendation efficiency?

Yes! I wanted to wait until the migration to kubernetes for that job is finished, but this has just happened (see T385782#10845115) and so this task should now be ready for the next sprint.

KStoller-WMF subscribed.

Change #1164287 had a related patch set uploaded (by Michael Große; author: Michael Große):

[operations/mediawiki-config@master] Growth: enable new way of refreshing LinkRecommendations for more wikis

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

Change #1164287 merged by jenkins-bot:

[operations/mediawiki-config@master] Growth: enable new way of refreshing LinkRecommendations for more wikis

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

Mentioned in SAL (#wikimedia-operations) [2025-07-28T13:27:24Z] <lucaswerkmeister-wmde@deploy1003> Started scap sync-world: Backport for [[gerrit:1164287|Growth: enable new way of refreshing LinkRecommendations for more wikis (T386250 T392944)]], [[gerrit:1171548|Echo: be explicit about special wikis using Wikipedia logo (T400070)]]

Mentioned in SAL (#wikimedia-operations) [2025-07-28T13:29:21Z] <lucaswerkmeister-wmde@deploy1003> lucaswerkmeister-wmde, migr: Backport for [[gerrit:1164287|Growth: enable new way of refreshing LinkRecommendations for more wikis (T386250 T392944)]], [[gerrit:1171548|Echo: be explicit about special wikis using Wikipedia logo (T400070)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-07-28T13:35:31Z] <lucaswerkmeister-wmde@deploy1003> Finished scap sync-world: Backport for [[gerrit:1164287|Growth: enable new way of refreshing LinkRecommendations for more wikis (T386250 T392944)]], [[gerrit:1171548|Echo: be explicit about special wikis using Wikipedia logo (T400070)]] (duration: 08m 06s)

Urbanecm_WMF renamed this task from Enable the iterative way of refreshing LinkRecommendations for more wikis to Enable the iterative way of refreshing LinkRecommendations for all wikis.Tue, Sep 8, 3:32 PM
Urbanecm_WMF subscribed.

Since this task is not closed, I renamed it to be about doing it for all wikis.

Urbanecm_WMF set the point value for this task to 2.Tue, Sep 8, 3:38 PM
Urbanecm_WMF moved this task from Triaged to Up next Sprint on the Growth-Team board.

This would be important to do with the switch to interest based topics. Estimated within a conversation with @Michael, per agreement with them, moving for consideration in next sprint.

Change #1338031 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] [Growth] Enable iterative Add Link task pool population on all wikis

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

Change #1338038 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] Enable GELinkRecommendationsRefreshByIteratingThroughAllTitles by default

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

Change #1338038 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Enable GELinkRecommendationsRefreshByIteratingThroughAllTitles by default

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

Change #1338031 merged by jenkins-bot:

[operations/mediawiki-config@master] [Growth] Enable iterative Add Link task pool population on all wikis

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

Mentioned in SAL (#wikimedia-operations) [2026-09-09T11:31:03Z] <urbanecm@deploy1003> Started scap sync-world: Backport for [[gerrit:1338031|[Growth] Enable iterative Add Link task pool population on all wikis (T392944)]]

Mentioned in SAL (#wikimedia-operations) [2026-09-09T11:35:26Z] <urbanecm@deploy1003> urbanecm: Backport for [[gerrit:1338031|[Growth] Enable iterative Add Link task pool population on all wikis (T392944)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-09-09T11:53:01Z] <urbanecm@deploy1003> Finished scap sync-world: Backport for [[gerrit:1338031|[Growth] Enable iterative Add Link task pool population on all wikis (T392944)]] (duration: 21m 58s)

Mentioned in SAL (#wikimedia-operations) [2026-09-09T15:17:44Z] <urbanecm> Delete all running periodic jobs starting with growthexperiments-refreshlinkrecommendations-* (to pick up new configuration; T392944)

Change #1338242 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] NewcomerTasks: Remove ORES topic based Add Link task pool population

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

Change #1338242 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] NewcomerTasks: Remove ORES topic based Add Link task pool population

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

Change #1341161 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] [Growth] Remove unused config variables

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

Change #1341164 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] listTaskCounts: Correct the --statsd option description

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

Change #1341165 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] refreshLinkRecommendations: Remove obsolete double-count guard

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

Cleanup config should be deployed on Sept 21. Moving to Blocked.

Change #1341164 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] listTaskCounts: Correct the --statsd option description

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

Change #1341165 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] refreshLinkRecommendations: Remove obsolete double-count guard

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

Logged a possible cleanup from this as T437889: Clean-up and speed up GrowthExperiments:listTaskCounts.php, as it would need some extra scrutiny.

Change #1341161 merged by jenkins-bot:

[operations/mediawiki-config@master] [Growth] Remove unused config variables

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

Mentioned in SAL (#wikimedia-operations) [2026-09-21T08:29:03Z] <urbanecm@deploy1003> Started scap sync-world: Backport for [[gerrit:1341161|[Growth] Remove unused config variables (T392944)]]

Mentioned in SAL (#wikimedia-operations) [2026-09-21T09:01:57Z] <urbanecm@deploy1003> Finished scap sync-world: Backport for [[gerrit:1341161|[Growth] Remove unused config variables (T392944)]] (duration: 32m 54s)

Etonkovidova subscribed.

Checked wmf.21 - Link Recommendation task pool is stable (not declining) link; logstash Link Recommendation dashboard (link) looks good too.