Hacker News new | past | comments | ask | show | jobs | submit login

I thought I was the only one who does this. There should be an easier way..



In chrome, go to settings > manage search engines. Add a new engine with the parameters:

   name:wiki
   keyword: w
   URL: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=inurl:en.wikipedia %s&btnI=745
Once saved, in chrome's address bar type "w foo" and press enter and you'll go directly to the wikipedia article on foo

By routing through google, it's also much more tolerant of misspellings.


If there's a wikipedia page for your search term then generally duckduckgo shows it at the top - also http://enwp.org/Article_Name is nice.


You can do the same in Firefox by going to wikipedia, right clicking the search bar, "add a keyword", make the keyword w, and save it as a bookmark.

That way you don't need to search through google, you can search directly. Works with most search boxes.


I made something similar to foobub which takes you to wikipedia on exact title matches: http://s.xqz.ca/ I use it primarily from my URL bar.


I used to append "wiki" to >90% of my searches as well. Finally got in the habit of using DuckDuckGo bang syntax now.

  w! <query>


Chrome and Firefox can do this too and it's easy so I don't get the reliance on DuckDuckGo for it.

In Firefox you go to the wikipedia page, right click on the search text box, then "Add Keyword for this Search". In Chrome, you do the same thing, right click on that search box and then click "Add as Search Engine".

You can add whatever keyword you want, like "w" and from then on, all searches with "w " as a prefix will go straight to Wikipedia's results.

I have shortcuts defined for Wikipedia, Stackoverflow, Amazon.com, IMDB, a dictionary for my native language, my personal Gmail, my work Gmail, Google Translate and Hacker News.

For instance for Hacker News, I often want to search for articles I've read here, not to mention it's a valuable resource for getting other people's opinions on certain subjects. So instead of searching on Google for:

     some topic site:news.ycombinator.com
I defined a prefix for this search "hn", and so I simply type "hn some topic". You can't use the shortcut for this though, you'll have to go to Settings and manually add a search engine setting.

For Google Translate, I basically type "enro phrase", for translating "phrase" from English to Romanian, while I type "roen phrase" for translating "phrase" from Romanian to English.

Can DuckDuckGo do that?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: