When I disable images or videos, or both, from the search results, the Wikipedia widget gets hidden too. But it's a bit complicated. With some search queries, the Wikipedia widget disappears only when you disable images. With some other searches, it only disappears if videos are disabled. And also sometimes it hides when both are turned off. It's a weird bug. However, what I just said isn't always true; in some cases, the Wikipedia widget is still visible even if one or both are disabled.
*I only tried it on mobile; I don't know about desktop.
I expected the Wikipedia widget to be visible unless that feature was disabled.