Merge "Use a more generic DB Error wording"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 28 Dec 2014 15:43:14 +0000 (15:43 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 28 Dec 2014 15:43:14 +0000 (15:43 +0000)
includes/db/DatabaseError.php
languages/i18n/en.json

index 2dfec41..2393bbb 100644 (file)
@@ -168,12 +168,12 @@ class DBConnectionError extends DBExpectedError {
                if ( $wgShowHostnames || $wgShowSQLErrors ) {
                        $info = str_replace(
                                '$1', Html::element( 'span', array( 'dir' => 'ltr' ), $this->error ),
-                               htmlspecialchars( $this->msg( 'dberr-info', '(Cannot contact the database server: $1)' ) )
+                               htmlspecialchars( $this->msg( 'dberr-info', '(Cannot access the database: $1)' ) )
                        );
                } else {
                        $info = htmlspecialchars( $this->msg(
                                'dberr-info-hidden',
-                               '(Cannot contact the database server)'
+                               '(Cannot access the database)'
                        ) );
                }
 
index b0751e3..14efc70 100644 (file)
        "compare-revision-not-exists": "The revision you specified does not exist.",
        "dberr-problems": "Sorry! This site is experiencing technical difficulties.",
        "dberr-again": "Try waiting a few minutes and reloading.",
-       "dberr-info": "(Cannot contact the database server: $1)",
-       "dberr-info-hidden": "(Cannot contact the database server)",
+       "dberr-info": "(Cannot access the database: $1)",
+       "dberr-info-hidden": "(Cannot access the database)",
        "dberr-usegoogle": "You can try searching via Google in the meantime.",
        "dberr-outofdate": "Note that their indexes of our content may be out of date.",
        "dberr-cachederror": "This is a cached copy of the requested page, and may not be up to date.",