} else {
$logId = WebRequest::getRequestId();
$type = static::class;
- return "<div class=\"errorbox\">" .
+ return Html::errorBox(
'[' . $logId . '] ' .
gmdate( 'Y-m-d H:i:s' ) . ": " .
$this->msg( "internalerror-fatal-exception",
$type,
$logId,
MWExceptionHandler::getURL( $this )
- ) . "</div>\n" .
+ ) ) .
"<!-- Set \$wgShowExceptionDetails = true; " .
"at the bottom of LocalSettings.php to show detailed " .
"debugging information. -->";