Extension:SearchBlox

From mediawiki.org
This page is a translated version of the page Extension:SearchBlox and the translation is 54% complete.
MediaWiki 拡張機能マニュアル
SearchBlox
リリースの状態: 保守されていない
実装 ユーザー インターフェイス, 検索
説明 Queries a SearchBlox server when there are only a few search matches
作者 Michael Overmeyer (Movermeyerトーク)
最新バージョン 0.1.0 (2013-04-19)
MediaWiki 1.18+
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 2.0
ダウンロード
README
Commits
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".

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のSearchBloxという名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    require_once "$IP/extensions/SearchBlox/SearchBlox.php";
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

構成パラメーター

変数名 既定値 説明
$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" SearchBlox サーバーのホスト
$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