Extension:TitleKey

This page is a translated version of the page Extension:TitleKey and the translation is 33% complete.
MediaWiki 拡張機能マニュアル
TitleKey
リリースの状態: 安定
実装 検索
説明 Provides a case-insensitive page title prefix search
作者 Brooke Vibberトーク
最新バージョン 継続的な更新
MediaWiki 1.25+
データベースの変更 はい
テーブル titlekey
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
README
Quarterly downloads 68 (Ranked 77th)
translatewiki.net で翻訳を利用できる場合は、TitleKey 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

The TitleKey extension provides a case-insensitive page title prefix search. It uses a separate table for the keys, so it can be deployed without an expensive rebuild of core tables, and uninstalled later in preference for a different search extension such as CirrusSearch .

For the average site administrator, the benefit of this extension is that it allows search suggestions (e.g. from Opensearch API) to be case-insensitive.

This extension provides no benefit if you are using CirrusSearch .

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のTitleKeyという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleKey
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'TitleKey' );
    
  • 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
  • Run the "rebuildTitleKeys.php" script (this requires command-line access):
    $ path/to/mediawiki/maintenance/run RebuildTitleKeys
    
    Or, for MediaWiki prior to 1.40:
    $ php path/to/mediawiki/extensions/TitleKey/maintenance/rebuildTitleKeys.php
    
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。