From: Alexandre Emsenhuber Date: Tue, 11 Oct 2011 15:50:01 +0000 (+0000) Subject: Make Skin::formatDebugHTML() work again since there is now usage memory X-Git-Tag: 1.31.0-rc.0~27145 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=486e48a201c0a5a3638838151b06a71edf7b8d5b;p=lhc%2Fweb%2Fwiklou.git Make Skin::formatDebugHTML() work again since there is now usage memory --- diff --git a/includes/Skin.php b/includes/Skin.php index 5982869a2d..b77cf78699 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -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 ) ); }