Actually check sourceFile for failure, showing the error message in the install.
authorPlatonides <platonides@users.mediawiki.org>
Thu, 29 Apr 2010 21:49:58 +0000 (21:49 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 29 Apr 2010 21:49:58 +0000 (21:49 +0000)
commit62a615c6c0438af8f8a5e367a2ef6954d4f11169
tree81f93c2a6bb672971a7ef1c201038f83b47f62fa
parent784422f5256b09db2a6f19a28190179409fba4a8
Actually check sourceFile for failure, showing the error message in the install.
See report on http://permalink.gmane.org/gmane.org.wikimedia.mediawiki/33902
Fixed several tag nesting problems from setup_database().
Make sourceFile() always use text errors in the installer. It can't handle
exceptions properly (introduced in r36211). But they are appropiate for update.php
thus the ugly branches.
The installer now always handles sourceFile() errors.
config/Installer.php
includes/db/Database.php
includes/db/DatabaseIbm_db2.php
includes/db/DatabaseOracle.php
includes/db/DatabasePostgres.php
includes/db/DatabaseSqlite.php