Page MenuHomePhabricator

Installation should not fail when extension cannot be initialized (You need to have the DataValues library loaded in order to use Ask)
Closed, DuplicatePublic

Description

…Unexpected non-MediaWiki exception encountered, of type "Exception"
[41c0b317] /mw-config/index.php?page=Install Exception from line 50 of /.../core/extensions/DataTypes/DataTypes.php: You need to have the DataValues library loaded in order to use Ask
Backtrace:
#0 /home/www/web7/html/relauch2014/mw/includes/installer/Installer.php(1445): require_once()
#1 [internal function]: Installer->includeExtensions(MysqlInstaller)
#2 /home/www/web7/html/relauch2014/mw/includes/installer/Installer.php(1533): call_user_func(array, MysqlInstaller)
#3 /home/www/web7/html/relauch2014/mw/includes/installer/WebInstallerPage.php(1336): Installer->performInstallation(array, array)
#4 /home/www/web7/html/relauch2014/mw/includes/installer/WebInstaller.php(283): WebInstaller_Install->execute()
#5 /home/www/web7/html/relauch2014/mw/mw-config/index.php(63): WebInstaller->execute(array)
#6 /home/www/web7/html/relauch2014/mw/mw-config/index.php(31): wfInstallerMain()
#7 {main}

The questions are.
a) how is that library loaded?
b) how to proceed from here? There are no navigation elements shown.
c) Why is this Extension initialized *before* a data base and/or LocalSettings.php have been created?


Version: 1.23.0
Severity: normal

Details

Reference
bz64161

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:21 AM
bzimport set Reference to bz64161.
bzimport added a subscriber: Unknown Object (MLST).

Crap extension dependancy handling is crap

The installer no longer fails, but now skips the extension section entirely: T220514: MediaWiki web installer does not show extension when their dependency is missing.
I'm going to merge this as a duplicate, as that task has more investigation and relevant examples.