Does the command line installer work at all in MW 1.19.x?

Fragment of a discussion from Project:Support desk
Jump to: navigation, search

I figured out exactly where it breaks, but my OO PHP skills are not strong enough to puzzle out exactly why.

In includes/installer/Installer.php (lines 649-561), disabling showStatusMessage as follows allows the installer to run successfully. Hopefully someone who knows the code better can figure out why.

                foreach ( array_keys( $databases ) as $db ) {
                        $installer = $this->getDBInstaller( $db );
                        $status = $installer->checkPrerequisites();
                        var_dump($status);
#                       if ( !$status->isGood() ) {
#                               $this->showStatusMessage( $status );
#                       }
                        if ( !$status->isOK() ) {
                                unset( $databases[$db] );
                        }
                }
75.121.228.11605:16, 21 July 2012