Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312087

Change subject: Remove MediaWiki mentions from /rdbms error strings
......................................................................

Remove MediaWiki mentions from /rdbms error strings

Change-Id: Ia330d8e465641d04e5d22a24490d792913f1ccb8
---
M includes/libs/rdbms/exception/DBError.php
1 file changed, 2 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/87/312087/1

diff --git a/includes/libs/rdbms/exception/DBError.php 
b/includes/libs/rdbms/exception/DBError.php
index 38887cf..f30d754 100644
--- a/includes/libs/rdbms/exception/DBError.php
+++ b/includes/libs/rdbms/exception/DBError.php
@@ -110,9 +110,7 @@
                                "Function: $fname\n" .
                                "Error: $errno $error\n";
                } else {
-                       $message = "A database error has occurred. Did you 
forget to run " .
-                               "maintenance/update.php after upgrading?  See: 
" .
-                               
"https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script\n"; .
+                       $message = "A database query error has occurred. \n" .
                                "Query: $sql\n" .
                                "Function: $fname\n" .
                                "Error: $errno $error\n";
@@ -166,8 +164,7 @@
  */
 class DBAccessError extends DBUnexpectedError {
        public function __construct() {
-               parent::__construct( "Mediawiki tried to access the database 
via wfGetDB(). " .
-                       "This is not allowed, because database access has been 
disabled." );
+               parent::__construct( "Access to the database has been 
disabled." );
        }
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/312087
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia330d8e465641d04e5d22a24490d792913f1ccb8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to