Jump to content

Extension:SearchBlox

From mediawiki.org
MediaWiki extensions manual
SearchBlox
Release status: unmaintained
Implementation User interface, Search
Description Queries a SearchBlox server when there are only a few search matches
Author(s) Michael Overmeyer (Movermeyertalk)
Latest version 0.1.0 (2013-04-19)
MediaWiki 1.18+
Database changes No
License GNU General Public License 2.0
Download
README
Commits
Example The Warrior Wiki

  • $wgSearchBloxOrganizationName
  • $wgSearchBloxOrganizationWebsite
  • $wgSearchBloxHost
  • $wgSearchBloxServletUrl
  • $wgSearchBloxFrontendUrl

The SearchBlox extension will query a SearchBlox Server and show the results if your normal search would have returned < 10 "Page text matches".

Installation

  • Download and place the file(s) in a directory called SearchBlox in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/SearchBlox/SearchBlox.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

Variable name Default value Description
$wgSearchBloxOrganizationName "Example Inc." Name of the organization running the SearchBlox server
$wgSearchBloxOrganizationWebsite "http://example.com" URL of the orgnization's main website
$wgSearchBloxHost "http://searchblox.example.com" Host of the SearchBlox Server
$wgSearchBloxServletUrl "http://searchblox.example.com/searchblox/servlet/SearchServlet" URL to launch queries against
$wgSearchBloxFrontendUrl "http://searchblox.example.com/searchblox/plugin/index.html" URL to direct users to for more results