Page MenuHomePhabricator

WMF dark mode bug

Authored By
Jonathan5566, Feb 8 2022
Referenced Files
F34947204: 圖片.png
Feb 10 2022, 5:13 AM
F34945471: 圖片.png
Feb 8 2022, 12:49 PM
F34945468: 圖片.png
Feb 8 2022, 12:48 PM
F34945466: 圖片.png
Feb 8 2022, 12:46 PM
F34945459: Screenshot 2022-02-08 at 20-44-06 Tekhelet - Wikipedia.png
Feb 8 2022, 12:45 PM
F34945460: Screenshot 2022-02-08 at 20-44-24 Tekhelet - Wikipedia.png
Feb 8 2022, 12:45 PM

Mock History

Current Revision

Mock Description

Vector-2020 + Dark mode gadget.

Event Timeline

The gadget was altered several days ago. See Wikipedia:Dark_mode_(gadget). I needed to add
window.wpDarkModeAutoToggle = true;
to my common.js. I found its behaviour was a bit erratic for the first day or so after the change.

圖片.png (774×1 px, 654 KB)

That wired box appears once I use the dark mode, everywhere.

Note to check which script conflict with it.

Oh, is RedWarn. @Chlod can you please check this?

Seems to be caused by the toast bar. Should be fixed with commit a59ef311, deployed with Special:Diff/1070967907. I will note, however that RedWarn is very quirky under dark mode, and may not show text at all. That, however, is beyond my ability to fix without replacing the dialog system.

Understood. Thanks for your help!