X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FException.php;h=81d1a9ba42d117c81a4b32860bb2134b7134bada;hb=81428046c0d14b84b27a00733258bf008d2e8088;hp=4cb946cb71cc9eedd51b6f639670d7baedcabc16;hpb=5111115ef1d86eb40d2fdde735ec70e73f4ddaba;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Exception.php b/includes/Exception.php index 4cb946cb71..81d1a9ba42 100644 --- a/includes/Exception.php +++ b/includes/Exception.php @@ -262,7 +262,7 @@ class MWException extends Exception { if ( defined( 'MW_API' ) ) { // Unhandled API exception, we can't be sure that format printer is alive header( 'MediaWiki-API-Error: internal_api_error_' . get_class( $this ) ); - wfHttpError(500, 'Internal Server Error', $this->getText() ); + wfHttpError( 500, 'Internal Server Error', $this->getText() ); } elseif ( self::isCommandLine() ) { MWExceptionHandler::printError( $this->getText() ); } else { @@ -536,7 +536,7 @@ class UserNotLoggedIn extends ErrorPageError { */ public function __construct( $reasonMsg = 'exception-nologin-text', - $titleMsg = 'exception-nologin', + $titleMsg = 'exception-nologin', $params = null ) { parent::__construct( $titleMsg, $reasonMsg, $params );