Last modified: 2012-02-09 22:10:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1825 - Adding more search engines to 'googlesearch'
Adding more search engines to 'googlesearch'
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-04-05 13:45 UTC by Ævar Arnfjörð Bjarmason
Modified: 2012-02-09 22:10 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Ævar Arnfjörð Bjarmason 2005-04-05 13:45:38 UTC
It has recently been brought to my attention that there exist other search
engines on the web besides Google, we might want to provide a search for those
as well on the fallback search form, the most frequently suggested one seems to
be "Yahoo!".
Comment 1 Ævar Arnfjörð Bjarmason 2005-04-10 14:28:18 UTC
It should be noted that the reason I took out the Yahoo option is that it's
(AFAIK) impossible to generate a search form dynamically with MediaWiki that
searches a particular website with Yahoo, the reason for this is that we don't
have a magic word to refer to the current IP/DNS name of the server, only the
url to it. Google accepts this but Yahoo does not.

We could of course get around this by just using the $wgServerName variable,
however that's bad form as we're trying to eliminate any php code from the
messages as they probably won't be evaluated as such in the future.

The solution to this problem is:
1. Not to include a search via Yahoo.
2. Tell yahoo to fix its stupid search, it would hardly be *that* hard to add
something like $searchstr =~ s#https?://## to it
4. Use $wgServerName
Comment 2 Ævar Arnfjörð Bjarmason 2005-06-24 02:55:44 UTC
(In reply to comment #1)

Update: I've added a {{SERVERNAME}} magic word that does just that, return
$wgServerName, doing something like this is now possible.

Comment 3 MZMcBride 2008-10-09 09:20:23 UTC
This is filed under "MediaWiki" but as far as I'm aware, no external search engines are included with a vanilla installation of MediaWiki. I will note that uses JS to create a drop-down of multiple search engines, including Yahoo and Google.

I'm inclined to resolve this. Thoughts?

Note You need to log in before you can comment on or make changes to this bug.