Page MenuHomePhabricator

[ptwiki] desktop Dark mode: for Search results preview displays articles excerpts unreadable
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue:

What happens?:

  • the search results display on a white background
  • the article excerpts are not readable
Screenshot 2026-10-02 at 10.36.14 AM.png (2,916×1,858 px, 884 KB)
Screenshot 2026-10-02 at 10.59.53 AM.png (2,046×1,866 px, 588 KB)

What should have happened instead?:

  • the Dark mode should handle pages (and Special:Search) consistently; the local modifications should be overridden.

Other information:

.mw-search-results li {
	margin: 0;
	padding: 0.35em 1em;
	border-bottom: 1px solid #d3daed;
	background-color: #f6f8fc;
	list-style-type: none;
	list-style-image: none;
}

Event Timeline

Needs to be fixed on wiki.

We don't do overriding Common.css?

https://pt.wikipedia.org/wiki/MediaWiki:Common.css#L-53 is setting a background. Either you need to use a token or you need to use a media query.

Jdlrobson-WMF claimed this task.

We don't do overriding Common.css?

We usually try and avoid it, but given this was a small change, I just went ahead and removed the line. I've pointed to this ticket in case a ptwiki admin wants to restore it and needs any additional help.
https://pt.wikipedia.org/w/index.php?title=MediaWiki%3ACommon.css&diff=73129675&oldid=72939492