Cymen's Blog

mediawiki-gsa-interwiki: Use GSA for search results in Mediawiki including Interwiki results

2 comments

I’ve released mediawiki-gsa-interwiki which is based on mediawiki-gsa-engine but adds support for results from multiple local wikis by hooking into the interwiki part of the Mediawiki search classes. This is useful for those that have multiple Mediawiki installations indexed by a Google Search Appliance (GSA) and want the search results for the current wiki to be results from the current wiki but also have a sidebar with results from other local wikis. Not a huge market there but useful all the same for those that need it. There are some other subtle changes documented at the project site.

Written by Cymen

January 8th, 2010 at 2:01 pm

2 Responses to 'mediawiki-gsa-interwiki: Use GSA for search results in Mediawiki including Interwiki results'

Subscribe to comments with RSS or TrackBack to 'mediawiki-gsa-interwiki: Use GSA for search results in Mediawiki including Interwiki results'.

  1. Hi, I installed your extension, but it shows only very few results in the main window, but many as “interwiki” results in the right box of “sister projects”. And all results in your box have urls like http://wiki.domain.org/mywiki/index.php/Mywiki:index.php/Pagename

    Correct urls would look like
    http://wiki.domain.org/mywiki/index.php/Pagename

    Why? Is there a way, or a patch to change this behaviour?

    Tom

    5 Apr 11 at 2:40 pm

  2. For the first issue are there additional results that should appear for that specific wiki that do not? The main window will only show results for the current wiki. The “sister projects” will show results for other wikis. So in some cases there may be no results in the main window but many in the “sister projects” area.

    For the second issue it could be a problem in a number of places. When you go to the Google Search Appliance and search for results do they come up as:

    http://wiki.domain.org/Mywiki:index.php/Pagename

    Or like so:

    http://wiki.domain.org/mywiki/index.php/Pagename

    What is $wgScriptPath set to? In this code there are some places where the URL path is modified using $wgScriptPath:

    http://code.google.com/p/mediawiki-gsa-interwiki/source/browse/trunk/SearchGSA_body.php

    And if $wgScriptPath doesn’t match…

    Cymen

    5 Apr 11 at 4:06 pm

Leave a Reply