Page MenuHomePhabricator

Codex button styles are added 3 times to pages
Open, Needs TriagePublicBUG REPORT

Description

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

  • Open a Chromium-based browser (it's easier to debug this there than in Firefox)
  • Go to https://en.wikipedia.org/wiki/Oceanic_whitetip_shark?safemode=1 (note safemode=1) with Page Previews enabled
  • Hover on any article link
  • Right-click the gear icon in the Page Preview popup → Inspect
    image.png (471×505 px, 168 KB)
  • In DevTools, look at the Styles section

What happens?:
Styles are triplicated:

image.png (811×388 px, 69 KB)

What should have happened instead?:
There should only be one left.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
CCiufo-WMF added subscribers: egardner, Catrope, CCiufo-WMF.

I believe this is caused by a known issue with code splitting of the Codex module in ResourceLoader (T358235). @Catrope or @egardner will be have to confirm.