From 30fc9f291333bb928f1714ed37bf53cb8e61cc73 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 8 Nov 2011 09:08:15 +0000 Subject: [PATCH] update ParserCache debug message "Found." was not very helpfull when indicating we found a cached ParserOutput object. --- includes/parser/ParserCache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.20.1