Follow-up r83336, r83460: abandon hardcoded styles altogether, and instead use a...
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 26 Mar 2011 13:27:50 +0000 (13:27 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 26 Mar 2011 13:27:50 +0000 (13:27 +0000)
includes/Skin.php

index 010f830..2fd3e11 100644 (file)
@@ -827,7 +827,7 @@ abstract class Skin extends Linker {
 
                if ( $wgShowDebug ) {
                        $listInternals = $this->formatDebugHTML( $out->mDebugtext );
-                       return "\n<hr />\n<strong>Debug data:</strong><ul style=\"font-family:'Courier New',monospace;\" id=\"mw-debug-html\">" .
+                       return "\n<hr />\n<strong>Debug data:</strong><ul id=\"mw-debug-html\">" .
                                $listInternals . "</ul>\n";
                }
 
@@ -874,7 +874,7 @@ abstract class Skin extends Linker {
                        } else {
                                $ret .= str_repeat( "<ul><li>\n", $diff );
                        }
-                       $ret .= $display . "\n";
+                       $ret .= "<tt>$display</tt>\n";
 
                        $curIdent = $ident;
                }