Page MenuHomePhabricator

"This page is using the deprecated ResourceLoader module codex-search-styles" appears in console on every page
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
"This page is using the deprecated ResourceLoader module "codex-search-styles". [1.43] Use a CodexModule with codexComponents to set your specific components used: https://www.mediawiki.org/wiki/Codex#Using_a_limited_subset_of_components"

image.png (188×1 px, 28 KB)

What should have happened instead?:

  • no warning

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

  • eliminating "every page" warnings is helpful for reducing devtools javascript console logspam

Event Timeline

There are three extensions loading this module, but not vector: https://codesearch.wmcloud.org/search/?q=codex-search-styles&files=&excludeFiles=%5C.html

  • ContentTranslation
  • GuidedTour
  • UniversalLanguageSelector

The code in UniversalLanguageSelector is conditional and loads on legacy vector, so it seems the culprit for "every page"