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
[ ] MW core (T356676)
[x] Vector (T356677)
[ ] MinervaNeue (T356678)
[ ] MobileFrontend (T356688)
[ ] MultimediaViewer (T356689)
[ ] Popups (T356690)
[ ] UniversalLanguageSelector (T356691)
[ ] ContentTranslation (T360223)
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.