darkreader / darkreader

Dark Reader Chrome and Firefox extension
https://darkreader.org/
MIT License
19.46k stars 2.39k forks source link

[Broken Website] Strange colour filter on some images on Wikipedia #5914

Closed Rummskartoffel closed 3 years ago

Rummskartoffel commented 3 years ago

Broken Website

Website

https://de.wikipedia.org/wiki/File:Brazil_vs_Germany,_in_Belo_Horizonte_04.jpg (what it's supposed to look like) https://ar.wikipedia.org/wiki/File:Acute_angle_closure_glaucoma.JPG https://en.wikipedia.org/wiki/Away_colours#FIFA_World_Cup https://en.wikipedia.org/wiki/Brazil_v_Germany_(2014_FIFA_World_Cup)

There are probably more, but these should be enough to demonstrate the general principle.

How to Reproduce

Navigate to the URLs provided.

Expected behavior

The images on the page are displayed correctly.

Actual behavior

Some or all of the images on the page have a colour filter applied to them, becoming strangely discoloured.

Screenshots

image

System Information

Additional context

I have been able to reproduce this issue on all Wikipedias I've tried (test, test2, simple, en, ru, ar, de, als, pt), so it probably affects all subdomains of wikipedia.org, but I have not been able to reproduce it on other Wikimedia Projects such as Wikiquote, Wikisource, Wiktionary, or the Wikimedia Commons. I don't recall ever having noticed this issue before today; it may be caused by a recent update.

Gusted commented 3 years ago

it may be caused by a recent update.

🔔 Correct.

Gusted commented 3 years ago

Please check https://github.com/darkreader/darkreader#site-fixes how to enable "early" site fixes so you don't have to wait for the next update to get this fixed.

Rummskartoffel commented 3 years ago

Wow, that was quick! Thanks a lot. I think the second URL I posted will still be affected, though, because it'll match this: https://github.com/darkreader/darkreader/blob/5128c1d91bece13e894e5a53ad4e64dee4889ea5/src/config/dynamic-theme-fixes.config#L12549

Gusted commented 3 years ago

5918