Google Chrome custom search engine for secure Wikipedia through Google search











up vote
2
down vote

favorite












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




























    up vote
    2
    down vote

    favorite












    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


























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      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















      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.







      google-chrome ssl google-search






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 at 6:14









      fixer1234

      17.3k144280




      17.3k144280










      asked Oct 8 '11 at 23:26









      gdejohn

      531412




      531412






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          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%2Fwikipedia%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://secure.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




















          up vote
          -1
          down vote













          This does the trick for me:




          • https://secure.wikimedia.org/wikipedia/en/wiki/Special:Search?search=%s






          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











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f344493%2fgoogle-chrome-custom-search-engine-for-secure-wikipedia-through-google-search%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          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%2Fwikipedia%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://secure.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

















          up vote
          1
          down vote













          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%2Fwikipedia%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://secure.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















          up vote
          1
          down vote










          up vote
          1
          down vote









          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












          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












          share|improve this answer



          share|improve this answer










          answered Mar 31 '12 at 10:02









          Sathya

          52.4k29153252




          52.4k29153252












          • 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%2Fwikipedia%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://secure.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




















          • 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%2Fwikipedia%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://secure.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


















          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




          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%2Fwikipedia%2Fen+finland&btnI=745 which then redirects to https://secure.wikimedia.org/wikipedia/en/wiki/Finland
          – Sathya
          Apr 4 '12 at 4:47




          @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%2Fwikipedia%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://secure.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






          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://secure.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














          up vote
          -1
          down vote













          This does the trick for me:




          • https://secure.wikimedia.org/wikipedia/en/wiki/Special:Search?search=%s






          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















          up vote
          -1
          down vote













          This does the trick for me:




          • https://secure.wikimedia.org/wikipedia/en/wiki/Special:Search?search=%s






          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













          up vote
          -1
          down vote










          up vote
          -1
          down vote









          This does the trick for me:




          • https://secure.wikimedia.org/wikipedia/en/wiki/Special:Search?search=%s






          share|improve this answer












          This does the trick for me:




          • https://secure.wikimedia.org/wikipedia/en/wiki/Special:Search?search=%s







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 23 '12 at 19:13









          colan

          419411




          419411












          • 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


















          • 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
















          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






          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




          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


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f344493%2fgoogle-chrome-custom-search-engine-for-secure-wikipedia-through-google-search%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix