r102383 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102382‎ | r102383 | r102384 >
Date:09:08, 8 November 2011
Author:hashar
Status:ok (Comments)
Tags:
Comment:
update ParserCache debug message

"Found." was not very helpfull when indicating we found a cached
ParserOutput object.
Modified paths:
  • /trunk/phase3/includes/parser/ParserCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/ParserCache.php
@@ -170,14 +170,14 @@
171171 $value = $this->mMemc->get( $parserOutputKey );
172172 }
173173 if ( !$value ) {
174 - wfDebug( "Parser cache miss.\n" );
 174+ wfDebug( "ParserOutput cache miss.\n" );
175175 wfIncrStats( "pcache_miss_absent" );
176176 wfProfileOut( __METHOD__ );
177177 return false;
178178 }
179179
180 - wfDebug( "Found.\n" );
181 -
 180+ wfDebug( "ParserOutput cache found.\n" );
 181+
182182 // The edit section preference may not be the appropiate one in
183183 // the ParserOutput, as we are not storing it in the parsercache
184184 // key. Force it here. See bug 31445.

Comments

#Comment by Platonides (talk | contribs)   19:57, 8 November 2011

Things were simpler in r3766!

#Comment by Hashar (talk | contribs)   22:05, 8 November 2011

But there was a lot more bugs :-D

Thanks for the history research Platonides!

Status & tagging log