Page MenuHomePhabricator

[EPIC] Deprecate the codex-search modules and migrate away from them
Closed, ResolvedPublic

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)
CCiufo-WMF renamed this task from Deprecate the codex-search modules and migrate away from them to [EPIC] Deprecate the codex-search modules and migrate away from them.Jul 4 2024, 5:25 PM
CCiufo-WMF raised the priority of this task from Medium to Needs Triage.
CCiufo-WMF moved this task from Now to Parking Lot on the Design-System-Team (Roadmap) board.
CCiufo-WMF added a project: Epic.

As of the next release (2025.01), MLEB will no longer support the last two versions of MediaWiki. At that point, we should be good to move forward with migrating UniversalLanguageSelector (T356691) and ContentTranslation (T360223).

CCiufo-WMF changed the task status from Open to Stalled.Sep 18 2024, 8:46 PM
CCiufo-WMF moved this task from Parking Lot to Next on the Design-System-Team (Roadmap) board.
CCiufo-WMF changed the task status from Stalled to Open.Jan 20 2025, 10:33 PM

This should be now be unblocked, with T373171: Release MLEB 2025.01 (or 03) being the first release that drops MW backwards compatibility requirements for MLEB.

CCiufo-WMF raised the priority of this task from Low to Needs Triage.Feb 13 2025, 9:17 PM
CCiufo-WMF moved this task from Next to Later on the Design-System-Team (Roadmap) board.
CCiufo-WMF claimed this task.
CCiufo-WMF added a subscriber: Jdlrobson-WMF.

Thanks @Jdlrobson-WMF for helping close this out!