Maybe you missed the difference between getHTML and getText... One returns HTML,...
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 6 May 2008 02:50:07 +0000 (02:50 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 6 May 2008 02:50:07 +0000 (02:50 +0000)
includes/Exception.php

index 8a76b5f..3fea288 100644 (file)
@@ -100,8 +100,8 @@ class MWException extends Exception {
                        return $this->getMessage() .
                                "\nBacktrace:\n" . $this->getTraceAsString() . "\n";
                } else {
-                       return "<p>Set <tt>\$wgShowExceptionDetails = true;</tt> " .
-                               "in LocalSettings.php to show detailed debugging information.</p>";
+                       return "Set \$wgShowExceptionDetails = true; " .
+                               "in LocalSettings.php to show detailed debugging information.\n";
                }
        }