Manual:$wgGitBin
Appearance
From mediawiki.org
This page is a translated version of the page Manual:$wgGitBin and the translation is 73% complete.
| 保守スクリプトの設定: $wgGitBin | |
|---|---|
| git バイナリへのパス。 |
|
| 導入されたバージョン: | 1.22.0 (Gerrit change 54986; git #I0931400) |
| 除去されたバージョン: | 使用中 |
| 許容される値: | (絶対パス) または false |
| 既定値: | '/usr/bin/git' |
| その他の設定: アルファベット順 | 機能順 | |
詳細
git バイナリへの絶対パスです。
この変数は、MediaWiki コアまたはいずれかの拡張機能を、git でチェックアウトしたものを直接実行している場合のみ使用されます。
大部分の利用者はこのようにしていないため、git を利用できなくても気にしないでください。
指定した場所に git バイナリがない場合は、Special:Version に git ハッシュを表示させられません (PHP の警告が表示されます)。
You can either install git in that location and adjust $wgGitBin accordingly or set $wgGitBin = false; to avoid the warning.
If you however do run a git checkout (meaning you have a .git folder in your installation directory), but Git is not available, then you should set $wgGitBin = false;.
Otherwise you will get errors on top of the "Special:Version" page telling you that the according binary would not have been found.