Firefox (and probably others) allows you to set up custom search engines (like Wikipedia). So when I know I am trying to get to Wikipedia or npm or whatever I just do an @wikipedia and type my search.
Yep, I prefer the Firefox keywords for various sites, and to disable search support entirely.
For those who haven't tried this yet: the bookmark for Wikipedia might look something like this:
Name: [SEARCH] WIKIPEDIA
URL: https://en.wikipedia.org/w/index.php?search=%s
Keyword: w
Then, when you want to do a Wikipedia search, go to the URL&search bar, and enter `w` as the first word, followed by the search term, such as `w cats`.
Also, you might want to disable the other search engine and portal page features as much as you can. This requires setting some preferences not on the Preferences pages, so going to `about:config` preferences, to set, e.g., `keyword.enabled` to false.
Note that you control the keywords. So I thought Wikipedia deserved a one-letter keyword. But `a` went to archive.org Wayback Machine (which also meant I could just prefix any URL with `a` and a space), while I made myself spell out `amazon` every time I was in danger of unnecessary consumerism.