From: Tom Gilder Date: Thu, 6 Oct 2005 03:18:52 +0000 (+0000) Subject: Marginally better database error X-Git-Tag: 1.6.0~1535 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=04b593761c674a773a8b749e48f1ed72973d9305;p=lhc%2Fweb%2Fwiklou.git Marginally better database error --- diff --git a/includes/Database.php b/includes/Database.php index 72f1e06a03..526e2b6791 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1711,8 +1711,7 @@ function wfEmergencyAbort( &$conn, $error ) { # I give up, Brion is right. Getting the message cache to work when there is no DB is tricky. # Hard coding strings instead. - $noconnect = 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server: $1.
-$1'; + $noconnect = '

Wiki currently offline

Sorry! This site is experiencing technical difficulties.

(Can\'t contact the database server: $1)

'; $mainpage = 'Main Page'; $searchdisabled = <<$wgSitename search is disabled for performance reasons. You can search via Google in the meantime.