Index: config/Installer.php
===================================================================
--- config/Installer.php	(revision 57115)
+++ config/Installer.php	(working copy)
@@ -964,7 +964,11 @@
 				continue;
 			}
 			$dataFile = "$wgSQLiteDataDir/$wgDBname.sqlite";
-			if ( file_exists( $dataFile ) && !is_writable( $dataFile ) ) {
+			if ( !file_exists( $dataFile ) ) {
+				echo ": data file does not exist. You might want to create a database first.</li>";
+				continue;
+			}
+			if ( !is_writable( $dataFile ) ) {
 				echo ": data file not writable</li>";
 				$errs['SQLiteDataDir'] = "$wgDBname.sqlite is not writable";
 				continue;
@@ -978,7 +982,7 @@
 				$myver = $wgDatabase->getServerVersion();
 			}
 			if (is_callable(array($wgDatabase, 'initial_setup'))) $wgDatabase->initial_setup('', $wgDBname);
-			echo "ok</li>\n";
+			echo ": ok</li>\n";
 		} elseif ( $conf->DBtype == 'oracle' ) {
 			echo "<li>Attempting to connect to database \"" . htmlspecialchars( $wgDBname ) ."\"</li>";
 			$wgDatabase = $dbc->newFromParams('DUMMY', $wgDBuser, $wgDBpassword, $wgDBname, 1);
