Let install.php detect and inject extensions
authorAntoine Musso <hashar@free.fr>
Tue, 13 Mar 2018 09:16:15 +0000 (10:16 +0100)
committerAntoine Musso <hashar@free.fr>
Tue, 13 Mar 2018 09:36:16 +0000 (10:36 +0100)
commit53926d9d6940eaa7f40086c9cf89af7bc726e73f
tree36f3cd5412846fc6aacefc9fcde40a3d13fc2767
parentad7db3c9b5751913b3823e82f2e9e43a2cc6ad3f
Let install.php detect and inject extensions

For CI, I went with a dirty trick to find extensions and either
wfLoadExtension() or include them. That has since been ported to
Installer::findExtensions() and LocalSettingsGenerator::getText().

The WebInstaller() relies on that to detect extensions and let the user
tick the ones to be installed.

Add --with-extensions to install.php so one can include all extensions
from the command line.

Note: The CliInstaller always wfLoad() any skin it can find.

Bug: T189567
Change-Id: Ic8aa6bea4e7294e54fd5b71df267c9e934f78fce
RELEASE-NOTES-1.31
includes/installer/CliInstaller.php
maintenance/install.php