Wikipedia logos are handled differently in Vector, MinveraNeue and somewhat Timeless (same images, close to Vector, but different positioning).
With the invert filter set in place they need special attention.
@Esanders described a way to go about it with localization of the (Wikipedia) logo subline aside of the globe, it's baked into the latest dark-mode CSS.
This is dependent though on the very specifics of the logo and just works for a few of our projects with quite a lot of special casing code.