Merge "Don't link wikilinks in section heading autocomments"
[lhc/web/wiklou.git] / includes / registration / ExtensionRegistry.php
index 1f8a27e..e462a0b 100644 (file)
@@ -213,7 +213,11 @@ class ExtensionRegistry {
                $autoloadNamespaces = [];
                $autoloaderPaths = [];
                $processor = new ExtensionProcessor();
-               $versionChecker = new VersionChecker( $wgVersion );
+               $versionChecker = new VersionChecker(
+                       $wgVersion,
+                       PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION,
+                       get_loaded_extensions()
+               );
                $extDependencies = [];
                $incompatible = [];
                $warnings = false;