Let install.php detect and inject extensions [2]
authorAntoine Musso <hashar@free.fr>
Tue, 13 Mar 2018 09:16:15 +0000 (10:16 +0100)
committerAntoine Musso <hashar@free.fr>
Wed, 4 Apr 2018 12:25:30 +0000 (14:25 +0200)
commit836890daf0efee8b452e432fcd52d024d21d5db2
tree0871a77a1477cffd898dbb486eed0b0f924b21ae
parent8d68145a16c3bdf1c42dec80b4294592bfd09af0
Let install.php detect and inject extensions [2]

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.

The original patch 53926d9d was broken and got reverted. This is the
proper one.

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