Extension:BypassSearch
この拡張機能ウィキページは、拡張機能のソースコードを含んでいます。 このコードが未検証であったり不正に変更されていたりするおそれがあることにご注意ください。 セキュリティ ホール、もう互換性がなく古くなったインターフェイス、などを含んでいるおそれがあります。 注記: translatewiki.net は、この拡張機能の地域化 (ローカライズ) の更新を提供しません。 |
現在、この拡張機能は積極的な保守が行われていません! それでも機能する可能性はありますが、バグ報告や機能の要望は無視される可能性が高くなります。 |
BypassSearch リリースの状態: 保守されていない |
|
---|---|
実装 | ユーザー インターフェイス, 自分のウィキ |
説明 | Adds a user preference to go directly to creating a new page when the Go button is used and the target page doesn't exist |
作者 | slakr, Leucosticte |
最新バージョン | 1.0.2 (2013-11-23) |
MediaWiki | 1.20+ |
PHP | 5.3+ |
データベースの変更 | いいえ |
ライセンス | ライセンス未指定 |
ダウンロード | See the page containing the code |
The BypassSearch extension adds a user preference to go directly to creating a new page when the Go button is used and the target page doesn't exist.
When using the search box, the default behavior is to Go directly to an article if it exists, or if it doesn't, use the search engine to find the given term. This extension allows the user to specify (under the "Misc" tab of "my preferences") the he wants to go directly into creating a new page instead of activating the autosearch when the given article doesn't exist.
インストール
- Copy the code into filesして、ファイルを
extensions/
フォルダー内のBypassSearch
という名前のディレクトリ内に配置します。 - 以下のコードを LocalSettings.php の末尾に追加します:
require_once "$IP/extensions/BypassSearch/BypassSearch.php";
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
設定
# If you would like the option enabled by default, set this to 1.
$wgDefaultUserOptions['bypasssearch'] = 0;