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
- Migrate existing uses of these modules in production code
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.