update ParserCache debug message
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 8 Nov 2011 09:08:15 +0000 (09:08 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 8 Nov 2011 09:08:15 +0000 (09:08 +0000)
"Found." was not very helpfull when indicating we found a cached
ParserOutput object.

includes/parser/ParserCache.php

index 2c02d5d..54a27b4 100644 (file)
@@ -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.