Make Skin::formatDebugHTML() work again since there is now usage memory
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 11 Oct 2011 15:50:01 +0000 (15:50 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 11 Oct 2011 15:50:01 +0000 (15:50 +0000)
includes/Skin.php

index 5982869..b77cf78 100644 (file)
@@ -562,7 +562,7 @@ abstract class Skin extends ContextSource {
                        $pre = '';
                        if ( $wgDebugTimestamps ) {
                                $matches = array();
-                               if ( preg_match( '/^(\d+\.\d+\s{2})/', $line, $matches ) ) {
+                               if ( preg_match( '/^(\d+\.\d+   \d+.\dM\s{2})/', $line, $matches ) ) {
                                        $pre = $matches[1];
                                        $line = substr( $line, strlen( $pre ) );
                                }