Extension:SearchBlox

From Linux Web Expert

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
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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

Installation

  • <translate> Download and place the file(s) in a directory called <tvar name=name>SearchBlox</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    require_once "$IP/extensions/SearchBlox/SearchBlox.php";
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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