Page MenuHomePhabricator

Codex: Deprecate codex-search and codex-search-styles modules in ResourceLoader
Closed, ResolvedPublic

Description

Now that ResourceLoader's CodexModule class supports basic code splitting, we should deprecate the codex-search and codex-search-styles RL modules so that we can eventually remove them.

However, in order to do that, we should make sure that the Codex page on MediaWiki includes some clear instructions for how to use code-splitting (in both CSS-only or CSS and JS features). The deprecation notice we add in RL could point directly to the appropriate section of this page.

Acceptance Criteria

  • Update the https://www.mediawiki.org/wiki/Codex page to include clear instructions/examples on how to use code splitting
  • Add a deprecated line in RL for codex-search and codex-search-styles

Event Timeline

CCiufo-WMF triaged this task as Medium priority.Mar 15 2024, 6:56 PM
CCiufo-WMF moved this task from Backlog to Up Next on the Design-System-Team board.

Change #1027720 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] resources: Mark @wikimedia/codex-search and codex-search-styles as deprecated

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

Jdforrester-WMF claimed this task.
Jdforrester-WMF updated the task description. (Show Details)

Change #1027720 merged by jenkins-bot:

[mediawiki/core@master] resources: Mark @wikimedia/codex-search and codex-search-styles as deprecated

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