Page MenuHomePhabricator

Ensure ORES topics are not loaded through legacy CommunityConfiguration code
Open, HighPublic

Description

GrowthExperiments needs a map of ORES topics into the more-generic topics set it uses to power its topic matching. Currently, this is backed by https://www.mediawiki.org/wiki/MediaWiki:NewcomerTopicsOres.json, which is accessed through CommunityConfiguration 1.0 code centrally from MediaWiki.org. To make ourselves able to remove legacy CommunityConfiguration code, we need to ensure the ORES topics are loaded in a different way.

There are two options we can consider here:

  1. Keeping the current location, and adding support for external page titles to MediaWiki-extensions-CommunityConfiguration: This would likely mean introducing a HttpStore in MediaWiki-extensions-CommunityConfiguration and using it to load the data from MediaWiki.org (where it currently is).
  2. Moving the ORES mapping to server configuration instead: It likely does not make much sense to have this config on-wiki anyway (if we look at the page history, we can see can see it was only ever edited by the Growth-Team), and using CommunityConfiguration for centrally managed configuration (for all wikis in a family) is something that we did not design for yet, so it might not be a good idea to do that with the current tooling.

Those two options were briefly discussed in T359185#9790649 et seq.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Urbanecm_WMF moved this task from Inbox to Backlog on the Growth-Team board.
Urbanecm_WMF added a subscriber: Michael.

Based on the T359185#9790649 discussion, I think it makes sense to go with option 2 and move the configuration to server configuration, as @Michael suggested on the other task.