Upgrade the warning from wfDebug to wfWarn.
authorPlatonides <platonides@users.mediawiki.org>
Tue, 10 Aug 2010 19:32:49 +0000 (19:32 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 10 Aug 2010 19:32:49 +0000 (19:32 +0000)
includes/parser/ParserCache.php

index 61cb9ec..00665a1 100644 (file)
@@ -79,7 +79,7 @@ class ParserCache {
                global $wgCacheEpoch;
                
                if( $popts instanceof User ) {
-                       wfDebug( "Use of outdated prototype ParserCache::getKey( &\$article, &\$user )\n" );
+                       wfWarn( "Use of outdated prototype ParserCache::getKey( &\$article, &\$user )\n" );
                        $popts = ParserOptions::newFromUser( $popts );
                }