Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have this custom search engine set up in Google Chrome:

https://www.google.com/search?q=site%3Aen.wikipedia.org+%s&btnI=1

It searches Google for site:en.wikipedia.org {query}, and the btnI=1 is for I'm Feeling Lucky, so it automatically redirects to the first result. I like this better than using Wikipedia's search function directly because I can misspell my search, or leave a word out, or just search for some keywords, and I still get what I'm looking for right away.

What I'd like is for it to use Wikipedia's secure gateway:

https://secure.wikimedia.org/wikipedia/en/wiki/

It's easy enough to set up a custom search engine that uses the secure version of Wikipedia's search function directly, but I can't figure out how to correctly incorporate it into my version going through Google. Nothing I've tried works.

share|improve this question

2 Answers 2

This does the trick for me:

share|improve this answer
    
As I said in the question, I want to go straight to Google's top result from Wikipedia so that I can misspell my search, or leave a word out, or just search for some keywords, and still get what I'm looking for right away. –  gdejohn Apr 24 '12 at 0:22
    
In that case, I apologize. That point was buried deep within the description; I must have skimmed over it. I edited the title to account for this so that it's much more explicit. –  colan Apr 24 '12 at 5:05

This should do:

https://encrypted.google.com/search?q=site:https%3A%2F%2Fsecure.wikimedia.org%2Fwikipedia%2Fen+%s&btnI=745
share|improve this answer
    
That's one of the things that I tried, but it doesn't work for me. Does it work for you? –  gdejohn Apr 4 '12 at 3:33
    
@gdejohn yes, it works as expected! With keyword sse mapped to search engines typing sse, hitting tab and entering finland as the search term results in this query being fired https://encrypted.google.com/search?q=site:https%3A%2F%2Fsecure.wikimedia.org%2‌​Fwikipedia%2Fen+finland&btnI=745 which then redirects to https://secure.wikimedia.org/wikipedia/en/wiki/Finland –  Sathya Apr 4 '12 at 4:47
    
Finland works, but for some reason, lots of searches don't automatically redirect, like Norway. Adding the sourceid parameter with value navclient fixes that. I also figured out that you can do site search as a parameter, rather than cluttering up the query with it: https://www.google.com/search?sourceid=navclient&btnI=1&as_sitesearch=https://s‌​ecure.wikimedia.org/wikipedia/en&q=%s. Unfortunately, some searches that work for the regular Wikipedia URL don't work for the secure portal at all (no results come up, so there's nothing to redirect to). For example, google plus. –  gdejohn Apr 19 '12 at 17:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.