Extension:SearchExtraNS

This page is a translated version of the page Extension:SearchExtraNS and the translation is 33% complete.
MediaWiki 拡張機能マニュアル
SearchExtraNS
リリースの状態: 安定
実装 検索
説明 Searches extra specified namespaces if no direct match is found.
作者 Roland Unger, Hans Musil
互換性の方針 MediaWiki とともにリリースされるスナップショット。 master には後方互換性がありません。
MediaWiki >= 1.42
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • $wgSearchExtraNamespaces
Quarterly downloads 11 (Ranked 133rd)
translatewiki.net で翻訳を利用できる場合は、SearchExtraNS 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

SearchExtraNS is an extension to improve search results.

Called after a search has no match for the exact result, but before any case variant is tested, it tries to find a direct match in extra specified namespaces, that is the namespace mentioned as prefix of the keyword. A side-effect is that the advanced search will no longer restrict results to the namespaces you select, but will always be extended to such namespace too.

インストール

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