Ajax suggestions:
authorRobert Stojnić <rainman@users.mediawiki.org>
Tue, 15 Apr 2008 23:06:28 +0000 (23:06 +0000)
committerRobert Stojnić <rainman@users.mediawiki.org>
Tue, 15 Apr 2008 23:06:28 +0000 (23:06 +0000)
commitd6fd8e7c1345052cfba0f396bbb65b4c93d11366
treee407f156f7c7101fb50d94e0607707cf4dc37c2a
parent95491734acf95d01439cd2691293932961e67444
Ajax suggestions:
* check in a new ajax suggestion engine (mwsuggest.js) which uses
  OpenSearch to fetch results (by default via API), this should
  deprecated the old ajaxsearch thingy
* extend PrefixSearchBackend hook to accept multiple namespaces for
  future lucene use (default implementation however can still
  process only one)
* Added to preferences, also a feature to turn it on/off for every
  input (disabled atm until I work out browser issues completely)
* WMF wikis probably won't be using API to fetch results, but a
  custom php wrapper that just forwards the request to appropriate
  lucene daemon, added support for that

SpecialSearch:
* moved stuff out of SpecialSearch to SearchEngine, like snippet
  highlighting and such
* support for additional interwiki results, e.g. title matches
  from other projects shown in a separate box on the right
* todo: interwiki box doesn't have standard prev/next links to
  avoid clutter and unintuitive interface
* support for related articles
15 files changed:
docs/hooks.txt
includes/DefaultSettings.php
includes/OutputPage.php
includes/PrefixSearch.php
includes/SearchEngine.php
includes/Skin.php
includes/SpecialPreferences.php
includes/SpecialSearch.php
includes/api/ApiOpenSearch.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc
opensearch_desc.php
skins/common/mwsuggest.js [new file with mode: 0644]
skins/common/shared.css
skins/monobook/main.css