Extension:MixedNamespaceSearchSuggestions

This page is a translated version of the page Extension:MixedNamespaceSearchSuggestions and the translation is 86% complete.
MediaWiki 拡張機能マニュアル
Mixed Namespace Search Suggestions
リリースの状態: 安定
px
実装 検索
説明 検索ボックス内のすべてのコンテンツ名前空間からのサジェストを含み、それぞれのサジェストがどの名前空間から来ているかを示します。
作者 Niklas Laxström (Nikerabbitトーク)
最新バージョン 2017-11-08
MediaWiki 1.29+
Composer mediawiki/mixed-namespace-search-suggestions
ライセンス MIT ライセンス
ダウンロード
http://tieteentermipankki.fi
Quarterly downloads 3 (Ranked 141st)
translatewiki.net で翻訳を利用できる場合は、MixedNamespaceSearchSuggestions 拡張機能の翻訳にご協力ください

MixedNamespaceSearchSuggestionsは、完全なページ名に加えてautocompleteの検索ボックスを本文の名前空間からのページ名に一致させます。 The namespace name is stripped from each title and shown in a byline next to it.

この拡張機能は元々、類似した名前空間が多数あるウィキで考えられていたものであり、そのようなウィキでは利用者がページ名を検索する際に正しい名前空間の接頭辞を付けることは期待できません。 $wgNamespacesToBeSearchedDefault は無視され、代わりに $wgContentNamespaces の名前空間が検索されます。

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のMixedNamespaceSearchSuggestionsという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MixedNamespaceSearchSuggestions
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'MixedNamespaceSearchSuggestions' );
    
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。