Steps to replicate the issue:
- on ptwiki wmf.22 the improved search results display (Search Improvements is enabled by default (along with ruwiki and idwiki)
- got to Special:Search and switch to Dark mode
- perform any search that returns some results e.g. https://pt.wikipedia.org/w/index.php?search=Galaxy&title=Especial%3APesquisar&profile=advanced&fulltext=1&ns0=1
What happens?:
- the search results display on a white background
- the article excerpts are not readable
What should have happened instead?:
- the Dark mode should handle pages (and Special:Search) consistently; the local modifications should be overridden.
Other information:
- the issue happens on ptwiki only due to https://pt.wikipedia.org/wiki/MediaWiki:Common.css
.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;
}
