Page MenuHomePhabricator

OpenSearch Support
Closed, ResolvedPublic

Description

Author: gregory.szorc

Description:
OpenSearch is a way to retrieve search results using RSS. http://a9.com is the principle supporter of the format. It would be beneficial to retrieve search
results from a MediaWiki installation using a standard XML format.


Version: unspecified
Severity: enhancement

Details

Reference
bz2964

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:41 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz2964.
bzimport added a subscriber: Unknown Object (MLST).

gregory.szorc wrote:

OpenSearch RSS Generator

This script will generate an OpenRSS compliant feed for a MediaWiki
installation. It was developed against 1.5b3, but still might work with 1.4.x.

Place the file in any subdirectory of the installation base for it to work.

Attached:

gregory.szorc wrote:

I have created a MediaWiki special page that returns OpenSearch query results.
It is still a work in progress, but it seems to be working all right. The
source code can be found at
http://opensource.case.edu/svn/MediaWikiHacks/plugins/OpenSearch/trunk/opensearch.php

Development documentation can be found at
http://opensource.case.edu/projects/MediaWikiHacks/wiki/OpenSearch

schade_chr wrote:

Sugest that you publish the wikipedia.org opensearch feeds somewhere since it can
then be used as an integrated search provider in IE7

jo.hermans wrote:

(I'm a contributor for Firefox)

I noticed that the OpenSearch link works in Firefox 2.0, but we have problem
because it doesn't include a title-tag. this is also the reason that it doesn't
work in Internet Explorer 7. I wrote a bug about it (for FF), and the current
resolution is to *disable* support for opensearch-links without a title tag.
Please add one soon, so that the automatic installation will work again in the
final version of Firefox 2.0 (end of September).

See https://bugzilla.mozilla.org/show_bug.cgi?id=349431

jo DOT hermans AT gmail DOT com

jo.hermans wrote:

mozilla bug 349431 is now fixed - we don't offer to install the search-plugin
anymore because it doesn't have a title-tag.

Note that at this time we don't have an official OpenSearch feed.

robchur wrote:

"Experimental" OpenSearch support included in MediaWiki since r16137.