Change-Id: I979c94a41df67426e621a734d5a86d55b890d269
if ( $this->useMessageCache() ) {
try {
return wfMessage( $key, $args )->text();
- } catch ( Exception $e ) {}
+ } catch ( Exception $e ) {
+ }
}
return wfMsgReplaceArgs( $fallback, $args );
}
if ( preg_match( "/Class (undefined: \w+|'\w+' not found)/",
$lastError['message']
) ) {
+ // @codingStandardsIgnoreStart Generic.Files.LineLength.TooLong
$msg = <<<TXT
{$msg}
Please see <a href="https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries">mediawiki.org</a> for help on installing the required components.
TXT;
+ // @codingStandardsIgnoreEnd
}
$e = new ErrorException( $msg, 0, $lastError['type'] );
self::logError( $e );