From: Antoine Musso Date: Tue, 8 Nov 2011 09:08:15 +0000 (+0000) Subject: update ParserCache debug message X-Git-Tag: 1.31.0-rc.0~26648 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=30fc9f291333bb928f1714ed37bf53cb8e61cc73;p=lhc%2Fweb%2Fwiklou.git update ParserCache debug message "Found." was not very helpfull when indicating we found a cached ParserOutput object. --- diff --git a/includes/parser/ParserCache.php b/includes/parser/ParserCache.php index 2c02d5d9b0..54a27b45bf 100644 --- a/includes/parser/ParserCache.php +++ b/includes/parser/ParserCache.php @@ -170,14 +170,14 @@ class ParserCache { $value = $this->mMemc->get( $parserOutputKey ); } if ( !$value ) { - wfDebug( "Parser cache miss.\n" ); + wfDebug( "ParserOutput cache miss.\n" ); wfIncrStats( "pcache_miss_absent" ); wfProfileOut( __METHOD__ ); return false; } - wfDebug( "Found.\n" ); - + wfDebug( "ParserOutput cache found.\n" ); + // The edit section preference may not be the appropiate one in // the ParserOutput, as we are not storing it in the parsercache // key. Force it here. See bug 31445.