Extension:SearchBlox

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
SearchBlox
Release status: beta
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 Licence 2.0
Download
README
Commits
Example The Warrior Wiki

  • $wgSearchBloxOrganizationName
  • $wgSearchBloxOrganizationWebsite
  • $wgSearchBloxHost
  • $wgSearchBloxServletUrl
  • $wgSearchBloxFrontendUrl
Translate the SearchBlox extension if it is available at translatewiki.net
Check usage and version matrix.

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:
    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