From: Tom Gilder Date: Mon, 10 Oct 2005 18:02:50 +0000 (+0000) Subject: "$wgSitename is offline" is a bit harsh if it's just a one-off glitch, change to... X-Git-Tag: 1.6.0~1486 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=4d1bc8009e4055b1ba7ef2ab368ae18a6ea17466;p=lhc%2Fweb%2Fwiklou.git "$wgSitename is offline" is a bit harsh if it's just a one-off glitch, change to "has a problem" --- diff --git a/includes/Database.php b/includes/Database.php index 51d2e745ad..8fc4b27aac 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1711,7 +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 = "

$wgSitename is currently offline

Sorry! This site is experiencing technical difficulties.

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

"; + $noconnect = "

$wgSitename has a problem

Sorry! This site is experiencing technical difficulties.

Try waiting a few minutes and reloading.

(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.