This page details how to setup the ability to search Wikipedia from within your Web browser's search box. These browsers support the OpenSearch standard. Some browsers support the Wikipedia search engine plugin by default.

To get Wikipedia search results while on any web page, you can temporarily set your browser's (web-based) search box to interface the Wikipedia search engine and land on Wikipedia's search results page. This trick removes the need to first navigate to Wikipedia from a web page, and then do the search or navigation. It is a temporary change, and then you put it back to your preferred web-search engine.

Say while on some web page, you decide to research, at Wikipedia, material on that web page. You change your web-search box to "Wikipedia (en)", and enter the page name or the query while on that web page. The other example is that you decide to contribute information from the web to Wikipedia. Furthermore, you can reach all twelve sister projects the same way. For example, you can go straight to a Wiktionary entry by using the prefix wikt: from your web-search box.

Avant and Orca

The Avant and Orca browsers support quick searching from the address bar. You can access the settings in the "Search Engine" dialog of the browser's options. There, you will be presented with two tabs: in the "Quick Search" tab, simply click "Add", type a keyword and press Enter, type the URL string ending in %s (the same as in Mozilla/Firefox) and press Enter again.

Chrome

Chrome's address bar can be configured to search Wikipedia.

  1. Click the Chrome menu.
  2. Select Preferences on Mac and Linux, or Settings on Windows or Chrome OS.
  3. Under Search engine, select Manage search engines.
    • If available, right-click in the address bar and select Edit search engines... instead.
  4. Under Other search engines, click Add and choose a name and keyword for Wikipedia search.
    • You will use the keyword in the address bar to select Wikipedia as the desired search engine.
  5. Enter https://en.wikipedia.org/wiki/Special:Search/%s as the URL.
    • NB. Wikipedia may have automatically been added by the browser under Other search engines.
  6. Wikipedia search can now be accessed by entering keyword search term in the address bar, replacing "keyword" with your chosen selector keyword and "search term" with your query.

This works similarly on browsers like Brave and Chromium.

Edge

The address bar in Microsoft Edge can be configured to search Wikipedia.

  1. Click the 'Settings and more' menu (three dots)
  2. Select Settings
  3. Under 'Privacy and services', scroll to the 'Services' heading and choose 'Address Bar'
  4. Select 'Manage search engines'
  5. Add Wikipedia as a search engine, choosing a keyword (which selects Wikipedia as the search engine from the address bar), and enter https://en.wikipedia.org/wiki/Special:Search/%s as the URL.
    • NB. Wikipedia may be automatically suggested under Other Search Engines.
  6. Wikipedia search can now be accessed by entering keyword search term in the address bar, replacing "search term" with your query.

Firefox

Firefox has a search bar that can be configured for Wikipedia searches:

  1. Click anywhere in the search bar
  2. Click "Change Search Settings..." in the drop down menu
  3. Under "One-click search engines" find "Wikipedia" and click it.

You can also add a keyword to save typing and clicks when searching from the location bar.

Alternatively, clicking on "Restore Defaults" may bring the Wikipedia search engine back to the list.

K-Meleon

K-Meleon has a search button that can be used to search Google. You can change it to search Wikipedia instead, by doing this:

  1. Close K-Meleon.
  2. Open up prefs.js with a text editor. The file should be in your K-Meleon\Profiles\PROFILE_NAME\RANDOM_STRING.slt\ directory.
  3. Add this line, and save prefs.js.
user_pref("kmeleon.general.searchEngine", "https://en.wikipedia.org/wiki/Special:Search?search=");

Open up K-Meleon and press the search button to search Wikipedia. To go back to Google or to use another search service, edit prefs.js and delete the added line

Make sure K-Meleon is closed before editing prefs.js.

Opera

Search bar

Opera (version 9.5+) has Wikipedia added as a default search option from the search bar (to the right of the address bar).

Keyword

Opera includes a Wikipedia keyword by default. To use it type w search term in the address bar, replacing "search term" with your query. Hold down the shift key while pressing the enter key to open the results in a new tab. Holding down the shift key also works with Wikipedia's sidebar search or Special:Search. It does not work with the search bar.

Safari

Version 8+ (OS X Yosemite and later)

Starting with Safari version 8, search Wikipedia by typing wiki <search term> into the search/address bar.

Older versions

Works with Safari and the Saft plugin.

Results similar to those described for Mozilla can be attained with Safari and Saft. In the Preferences menu of Safari, choose the Saft section, then the Shortcuts tab. Click Add and enter "Wikipedia" (without the quotes) for the name, with "w" (again, no quotes) for the shortcut. The URL is similar to those listed above, with a change in the last character. Enter the text below in the URL field.

https://en.wikipedia.org/wiki/Special:Search?search=%@

Click OK, and close the preferences window. Now typing "w" followed by a space and your search term in the address bar of Safari will take you immediately to your search results. This can be easily altered to search Wikipedia in other languages.