Use 'Courier new' for $wgShowDebug HTML output
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 5 Mar 2011 22:26:09 +0000 (22:26 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 5 Mar 2011 22:26:09 +0000 (22:26 +0000)
'Courier new' is rendered with a constant size in both monobook
and vector skins.  monospace is rendered too small under vector
with firefox/Linux.
Thus, this patch makes the font size consistent.

includes/Skin.php

index 34c90cf..89ecc0f 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:monospace;\" id=\"mw-debug-html\">" .
+                       return "\n<hr />\n<strong>Debug data:</strong><ul style=\"font-family:\'Courier New\';\" id=\"mw-debug-html\">" .
                                $listInternals . "</ul>\n";
                }