Page MenuHomePhabricator

Remove overriding styles for Main Page in ukwiki
Closed, InvalidPublic

Assigned To
None
Authored By
Repakr
Jul 8 2025, 8:24 AM
Referenced Files
F63438082: image.png
Jul 8 2025, 8:24 AM
F63437775: image.png
Jul 8 2025, 8:24 AM

Description

In the Ukrainian wiki, some styles override TemplateStyles on the Main Page. These are:

.skin-theme-clientpref-night .page-Main_Page .mw-parser-output :not(.notheme):not(a) {
    background: inherit !important;
    color: inherit !important;
    border-color: var(--border-color-subtle, #c8ccd1) !important;
  }

The problem with them is that drop-down menus are displayed transparently like this:

image.png (177×205 px, 30 KB)

As of now, I have made changes to TemplateStyles that the Main Page is using, and the Main Page should work in dark mode without this override.

The same photo without overriding:

image.png (203×238 px, 18 KB)

Event Timeline

I discovered the MediaWiki:Wikimedia-styles-exclude page. So this is not needed now.