Page MenuHomePhabricator

Implement topic registry
Closed, ResolvedPublic2 Estimated Story Points

Description

Acceptance criteria

  • Implement a topic registry that provides:
    • A list of all available topics
    • A map of all topics with their translations, suitable for a selector in the interface
    • Localised names for a given list of topics IDs
  • The registry should have a default implementation that returns no topics

Out of scope: The Wikimedia list of topics will be implemented in T381790.

Event Timeline

Change #1101872 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] Create ITopicRegistry interface and EmptyTopicRegistry implementation

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

Change #1101872 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Create ITopicRegistry interface and EmptyTopicRegistry implementation

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

Implementation task that can't be directly tested.