r70839 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70838‎ | r70839 | r70840 >
Date:19:32, 10 August 2010
Author:platonides
Status:ok
Tags:
Comment:
Upgrade the warning from wfDebug to wfWarn.
Modified paths:
  • /trunk/phase3/includes/parser/ParserCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/ParserCache.php
@@ -79,7 +79,7 @@
8080 global $wgCacheEpoch;
8181
8282 if( $popts instanceof User ) {
83 - wfDebug( "Use of outdated prototype ParserCache::getKey( &\$article, &\$user )\n" );
 83+ wfWarn( "Use of outdated prototype ParserCache::getKey( &\$article, &\$user )\n" );
8484 $popts = ParserOptions::newFromUser( $popts );
8585 }
8686

Status & tagging log