aboutsummaryrefslogtreecommitdiffstats
path: root/includes/DefaultSettings.php
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2022-03-08 17:44:09 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2022-03-08 17:44:09 +0000
commit277453fe784fe6f3686cee3c75b2aa755c4cf588 (patch)
tree79b24ad58658ca989fd3fd45d3381a917b557608 /includes/DefaultSettings.php
parentd1cfc0317dd58e5dc2423067a90048c2badbea59 (diff)
parentcf581bb2ca9ca37d3c6b540dbaa3e3629b184210 (diff)
downloadmediawikicore-277453fe784fe6f3686cee3c75b2aa755c4cf588.tar.gz
mediawikicore-277453fe784fe6f3686cee3c75b2aa755c4cf588.zip
Merge "Define MW_INSTALL_PATH constant and BaseDirectory config."
Diffstat (limited to 'includes/DefaultSettings.php')
-rw-r--r--includes/DefaultSettings.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index 19dbc6719784..2504e5bf0a49 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -256,6 +256,17 @@ $wgExtensionDirectory = null;
$wgStyleDirectory = null;
/**
+ * Absolute filesystem path of the root directory of the MediaWiki installation.
+ * The MW_INSTALL_PATH environment variable can be used to set this.
+ *
+ * @note Automatically set in Setup.php before loading local settings.
+ * @note Do not modify in settings files! Must remain equal to the MW_INSTALL_PATH constant
+ * defined in Setup.php.
+ * @since 1.38
+ */
+$wgBaseDirectory = null;
+
+/**
* The URL path for primary article page views. This path should contain $1,
* which is replaced by the article title.
*