Manual:$wgGitBin
From MediaWiki.org
Paths: $wgGitBin | |
---|---|
Path to the git binary. |
|
Introduced in version: | 1.22.0 |
Removed in version: | still in use |
Allowed values: | absolute path |
Default value: | '/usr/bin/git' |
Other settings: Alphabetical | By Function
Details[edit | edit source]
Path to the git binary.
This variable is only used if running directly off of a git checkout. Most users do not do this, and hence should not worry if git is unavailable. If the git binary is not present at the specified location, you will not be able to see git hashes on Special:Version.
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.