Extension:LinkSuggest
![]() リリースの状態: 安定 |
|
---|---|
![]() |
|
実装 | 検索 |
説明 | Provides the user with article title suggestions as they type a link in wikitext. |
作者 |
|
最新バージョン | 2.1.0 (2021-01-29) |
MediaWiki | 1.39+ |
ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
ダウンロード | |
|
|
Quarterly downloads | 36 (Ranked 138th) |
translatewiki.net で翻訳を利用できる場合は、LinkSuggest 拡張機能の翻訳にご協力ください | |
問題点 | 未解決のタスク · バグを報告 |
The LinkSuggest extension suggests links to editors on edit view (?action=edit). Registered users are able to turn LinkSuggest off via Special:Preferences.
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のLinkSuggest
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'LinkSuggest' );
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
設定
- $wgLinkSuggestFromNamespaces
Array that defines a list of namespaces to get suggestions from if you don't type a namespace.
Default value:
$wgLinkSuggestFromNamespaces = [ NS_MAIN ];
Adding namespaces to this list will cause LinkSuggest to load suggestions from pages on those namespaces, when you don't type the namespace.
This cause suggestions to get pages "Apple" and "Project:Apple" if you type "Appl" and $wgLinkSuggestFromNamespaces
is [ NS_MAIN, NS_PROJECT ]
.
関連する拡張機能
- WikiEditor - Has similar functionality built in. Clicking on the link icon from the tool-bar shows a search box, typing into this will search the available pages. This extension is now bundled with MediaWiki.
この拡張機能は以下のパッケージ/ウィキファームに含まれています: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |