r99486 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99485‎ | r99486 | r99487 >
Date:15:50, 11 October 2011
Author:ialex
Status:ok (Comments)
Tags:
Comment:
Make Skin::formatDebugHTML() work again since there is now usage memory
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -562,7 +562,7 @@
563563 $pre = '';
564564 if ( $wgDebugTimestamps ) {
565565 $matches = array();
566 - if ( preg_match( '/^(\d+\.\d+\s{2})/', $line, $matches ) ) {
 566+ if ( preg_match( '/^(\d+\.\d+ \d+.\dM\s{2})/', $line, $matches ) ) {
567567 $pre = $matches[1];
568568 $line = substr( $line, strlen( $pre ) );
569569 }

Comments

#Comment by Nikerabbit (talk | contribs)   15:52, 11 October 2011

Wow. I didn't know something is parsing the wfDebug output. What does this code do?

#Comment by IAlex (talk | contribs)   15:56, 11 October 2011

See Hashar's comment on r83466.

Status & tagging log