dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb43fae
)
Make Skin::formatDebugHTML()'s formatting work when memory usage is greather that 10M
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sun, 27 Nov 2011 16:20:13 +0000
(16:20 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sun, 27 Nov 2011 16:20:13 +0000
(16:20 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
5d0f877
..
cae7878
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-538,7
+538,7
@@
abstract class Skin extends ContextSource {
$pre = '';
if ( $wgDebugTimestamps ) {
$matches = array();
- if ( preg_match( '/^(\d+\.\d+
\d+.\dM\s{2})/', $line, $matches ) ) {
+ if ( preg_match( '/^(\d+\.\d+
{1,3}
\d+.\dM\s{2})/', $line, $matches ) ) {
$pre = $matches[1];
$line = substr( $line, strlen( $pre ) );
}