Wikipedia:Tools/Browser tools/Mozilla Firefox/URL shortcut
Appearance
Description
- Allows the user to go to a Wikipedia article from the Mozilla or Firefox address bar by typing "wp Article_Name".
Instructions
- In later versions of Mozilla, you can add keyword searches more easily by right-clicking on the search field of the required site and selecting "Add a Keyword for this Search" in the resulting pop-up context menu.
- Add a bookmark for Wikipedia.
- Right-click on the bookmark and open its properties.
- In the keyword field, type "wp" or your own shortcut character(s) (without quotes).
- Change the address (called "location") to one of the following (English wikipedia):
- "https://en.wikipedia.org/wiki/%s" - This will cause "wp [text]" to go directly to the article page of "[text]".
- "https://google.com/search?q=site:en.wikipedia.org+%s" - This will cause "wp [text]" to go to a google search for "[text]" specifically focused on Wikipedia.
- "https://en.wikipedia.org/wiki/Special:Search?search=%s" - This is what Mozilla Firefox uses by default in the most recent versions, and will cause "wp [text]" to go to the Wikipedia search page, searching for "[text]" - however if the article "[text]" exists it will load the page directly.
- If you want to use another language wiki, change to the desired two/three letter language code, for example en.wikipedia.org → ru.wikipedia.org .
Usage
- Simply type "wp Article_name" without quotes into the address bar, where Article_name is the name of the article you wish to navigate to. For example, try any of the following: wp Disney, wp Donald Trump, wp WP:RFC.