aboutsummaryrefslogtreecommitdiffstats
path: root/includes/NoLocalSettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/NoLocalSettings.php')
-rw-r--r--includes/NoLocalSettings.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/NoLocalSettings.php b/includes/NoLocalSettings.php
index f6f4cd3a3ef7..88dc01aa49fd 100644
--- a/includes/NoLocalSettings.php
+++ b/includes/NoLocalSettings.php
@@ -48,11 +48,10 @@ $templateParser = new TemplateParser();
# Render error page if no LocalSettings file can be found
try {
- global $wgVersion;
echo $templateParser->processTemplate(
'NoLocalSettings',
[
- 'wgVersion' => ( $wgVersion ?? 'VERSION' ),
+ 'version' => ( defined( MW_VERSION ) ? MW_VERSION : 'VERSION' ),
'path' => $path,
'localSettingsExists' => file_exists( MW_CONFIG_FILE ),
'installerStarted' => $installerStarted