|
MediaWiki
REL1_23
|


Public Member Functions | |
| __construct (DatabaseBase $db, $error, $errno, $sql, $fname) | |
| getPageTitle () | |
| isLoggable () | |
Public Attributes | |
| $errno | |
| $error | |
| $fname | |
| $sql | |
Protected Member Functions | |
| getHTMLContent () | |
| getTechnicalDetails () | |
| Make a list of technical details that can be shown to the user. | |
| getTextContent () | |
Private Member Functions | |
| getFallbackMessage ($key) | |
Definition at line 323 of file DatabaseError.php.
| DBQueryError::__construct | ( | DatabaseBase $ | db, |
| $ | error, | ||
| $ | errno, | ||
| $ | sql, | ||
| $ | fname | ||
| ) |
| DatabaseBase | $db | |
| string | $error | |
| int | string | $errno | |
| string | $sql | |
| string | $fname |
Definition at line 333 of file DatabaseError.php.
| DBQueryError::getFallbackMessage | ( | $ | key | ) | [private] |
| string | $key | Message key |
Definition at line 438 of file DatabaseError.php.
| DBQueryError::getHTMLContent | ( | ) | [protected] |
Reimplemented from DBExpectedError.
Definition at line 366 of file DatabaseError.php.
| DBQueryError::getTechnicalDetails | ( | ) | [protected] |
Make a list of technical details that can be shown to the user.
This information can aid in debugging yet may be useful to an attacker trying to exploit a security weakness in the software or server configuration.
Thus no such details are shown by default, though if $wgShowHostnames is true, only the full SQL query is hidden; in fact, the error message often does contain a hostname, and sites using this option probably don't care much about "security by obscurity". Of course, if $wgShowSQLErrors is true, the SQL query *is* shown.
Definition at line 414 of file DatabaseError.php.
| DBQueryError::getTextContent | ( | ) | [protected] |
Reimplemented from DBExpectedError.
Definition at line 390 of file DatabaseError.php.
| DBQueryError::$errno |
Definition at line 324 of file DatabaseError.php.
| DBQueryError::$error |
Definition at line 324 of file DatabaseError.php.
| DBQueryError::$fname |
Definition at line 324 of file DatabaseError.php.
| DBQueryError::$sql |
Definition at line 324 of file DatabaseError.php.