Extension:TitleKey

This page is a translated version of the page Extension:TitleKey and the translation is 20% complete.
MediaWiki 拡張機能マニュアル
TitleKey
リリースの状態: 安定
実装 検索
説明 Provides a case-insensitive page title prefix search
作者 Brion Vibber (Brion VIBBERトーク)
最新バージョン continuous updates
MediaWiki 1.25+
データベースの変更 はい
テーブル titlekey
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
README
Quarterly downloads 77 (Ranked 105th)
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という名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php の末尾に追加します:
    wfLoadExtension( 'TitleKey' );
    
  • 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
  • Run the "rebuildTitleKeys.php" script (this requires command-line access):
php path/to/mediawiki/extensions/TitleKey/maintenance/rebuildTitleKeys.php
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

MediaWiki 1.27以前を稼働させている利用者へ:

上記の手順では、wfLoadExtension()を使用してこの拡張機能をインストールする新しい方法を記載しています。 この拡張機能をこれらの過去のバージョン (MediaWiki 1.27以前) にインストールする必要がある場合は、wfLoadExtension( 'TitleKey' );の代わりに以下を使用する必要があります:

require_once "$IP/extensions/TitleKey/TitleKey.php";


既知の問題点

(see topic).

  • It breaks any extension that relies on Prefixsearch which also includes TemplateWizard .
  • With MediaWiki 1.35 or earlier it breaks search suggestions for pages that are not in the main namespace. (The Gerrit patch fixing this issue has been released as part of MediaWiki 1.36: Gerrit change 641277.)