HomePhabricator

Let install.php detect and inject extensions
02e257ce5b71Unpublished

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

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
(cherry picked from commit 53926d9d6940eaa7f40086c9cf89af7bc726e73f)

Details

Provenance
hasharAuthored on Mar 13 2018, 9:16 AM
ChangeId
Ic8aa6bea4e7294e54fd5b71df267c9e934f78fce

Commit No Longer Exists

This commit no longer exists in the repository.