function getHTML() { global $wgShowExceptionDetails; $class = strtolower(get_class($this->getPrevious())); $box_content = wfMessage($class . '-body')->text(); $box = '<div class="errorbox" style="float: none;">' . $box_content . "</div>"; if ($wgShowExceptionDetails) { $box .= '<b>Status code:</b> ' . $this->previous->getCode() . "<br /><b>Message from authentication server:</b> " . $this->previous->getMessage(); } return $box . parent::getHTML(); }