Page MenuHomePhabricator

Deprecate the codex-search modules and migrate away from them
Open, MediumPublic

Description

Now that code splitting is available, we would like to deprecate and eventually remove the @wikimedia/codex-search and codex-search-styles modules. We would then remove these modules in a future release of MediaWiki.

See T360221 for the task about updating MediaWiki documentation and adding deprecation notices in ResourceLoader.

We should also migrate any existing uses of codex-search and codex-search-styles to use the new CodexModule feature (which allows the necessary components to be specified in the codexModules key). In some cases users were probably loading codex-search when they only needed one or two components within that module, so we should ensure that the correct components (and only the correct components) are loaded in all use-cases.

Acceptance Criteria

After the next MW release, we would migrate non-production code if it hasn't been migrated (the Cosmos skin and snapwikiskin), and remove the modules.

Related Objects

Event Timeline

Restricted Application added subscribers: Masumrezarock100, Aklapper. · View Herald Transcript
CCiufo-WMF triaged this task as Medium priority.Feb 5 2024, 7:08 PM
egardner renamed this task from Deprecate the codex-search modules and migrate away from them to Migrate code away from codex-search and codex-search-styles in favor of code splitting.Mar 15 2024, 6:09 PM
egardner updated the task description. (Show Details)
egardner updated the task description. (Show Details)
Catrope renamed this task from Migrate code away from codex-search and codex-search-styles in favor of code splitting to Deprecate the codex-search modules and migrate away from them.Mar 15 2024, 6:12 PM
Catrope updated the task description. (Show Details)