Extension talk:GoogleSiteSearch/LQT Archive 1

Can't support the asian language
Can't be used in an asian language wiki. --86.208.100.41 15:30, 27 April 2008 (UTC)

GoogleSiteSearch not working on internal site
I've installed this extension on 1.11.2 version of MediaWiki. I am unable to get any results for search. My company is hosting the wiki as an internal site. Would there be a special setup required in this case? Or is it even possible to use GoogleSiteSearch for this?

--Jenn 20:22, 7 March 2008 (UTC)

I've run into the exact same trouble as mentioned by Jenn above. Internal company CMS-wiki and tried to add a better search engine. No search results whatsoever. Any suggestions/solutions/tips would be greatly appreciated.

--carsten3m 13:55, 20 March 2008

This search extension can only report what Google can see. Google (thankfully!) can't see inside your company's firewall.

--ChrisRing 18:18, 21 March 2008 (UTC)

I really like this implementation of Google Search! We recently bought a Google Mini search appliance and was wondering if there is a way to get this extension working with our own search box instead of the public Google search? Anyone attempted this yet?

--Rob Matzker 18:51, 22 April 2008 (UTC)

I've amended this extension to work with our internal Google search service (as well as the regular Google service), and parse XML rather than using an iFrame. I will try and post it once my company gives me permission.

Biyer 18:32, 22 October 2008 (UTC)

I have similar problem here. I can't find any search result about an existing page. I use dreamhost.com as my server. Is it because I haven't add url to google?

--Coulomb 15:39, 30 December 2008 (UTC)


 * My problem is solved. It is not about firewall or internal website. My problem is that I didn't add the my url to google so that google can't see my website. After 2 weeks of sending my url, google can see me now. --Coulomb 09:39, 14 January 2009 (UTC)

Is there any update on this or does anyone know of a search that works as good as this one but only for internal wikis?

--Zetsumei1920 08:44, 31 December 2008 (PST)

Searching Just the Wiki
Alright, I'm sure this is very simple, but I'd rather not meddle if I'm unsure about something. I'd like my GoogleSiteSearch extension to search only the wiki on my website. The link below shows that it actually picks stuff up from the deeper levels of the site. While its not a big deal, it could be distracting for users. http://www.arcandio.com/wiki/index.php5?search=blade&fulltext=Search

Is it possible to use the first two search variables to direct SiteSearch just to the /wiki folder? or is google too awesome for me and can only search the entire thing?

Much appreciated. Very slick extension I must say.

--Arcandio 00:25, 25 March 2008 (UTC)

Still seeing ads with non-profit Coop Account
I got this extension to work right out of the box, but with one small problem. I work for a non-profit and setup a coop account (aka custom search engine) at Google. As a non-profit, I can request no ads on my Google search results.

However, in the code snippet that Google gives me, it doesn't tell me a "client" id, but rather a "cx" id. The cx id is of the form "21digitNumericString:11CharacterAlphanumericString".

No matter what I try I get ads on my search results. I've tried replacing client with cx, sending identical cx and client strings, sending only the first or second part of the cx ID. I always get ads.

Any ideas?

Thanks,

Tnabtaf 15:00, 10 August 2008 (UTC)

I got this to work by putting "pub-" in front of my CX id, and passing the whole thing in as a client string.

Tnabtaf 15:17, 10 August 2008 (UTC)

Can the page show "create this page", when there is no matching result found?
When clicking "Go" and there is no matching result, I can see there is a link "Create this page". But if I click "Search" and there is no matching result, there is no "create this page" link on the page. How can I change it? I want to see "create this page" both clicking "Go" or "Search". Thank you!

1.14
How do you install it in 1.14? The part of SpecialSearch.php mentioned has changed. I have

public function showResults( $term ) { global $wgOut, $wgUser, $wgDisableTextSearch, $wgContLang; wfProfileIn( __METHOD__ ); and function showResults( $term ) { wfProfileIn( __METHOD__ ); global $wgOut, $wgUser; $sk = $wgUser->getSkin;

that might be something. But function showResults( $term ) { $fname = 'SpecialSearch::showResults'; wfProfileIn( $fname );

does not exist. Thanks. Tempp 04:01, 3 April 2009 (UTC)

1.14 Call for help
I am trying to install this in my wiki (v1.14) I have the same problem Tempp has, the code in SpecialSearch.php does not match the example in the extension page. I noticed the author of the extension has not responded to any messages on this page and was wondering if anyone else is working on this extension. If so Please let me know. Thanks in advance --Jake4d 06:01, 12 May 2009 (UTC)