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

Download snapshot
GitHub:

Note:
No localisation updates are
provided by translatewiki.net .


README
Commits
Example The Warrior Wiki
Parameters
  • $wgSearchBloxOrganizationName
  • $wgSearchBloxOrganizationWebsite
  • $wgSearchBloxHost
  • $wgSearchBloxServletUrl
  • $wgSearchBloxFrontendUrl
Hooks used
  • SpecialSearchResults
  • SpecialSearchNoResults
  • ResourceLoaderGetConfigVars

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
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.