From: Aaron Schulz Date: Fri, 7 Feb 2014 22:03:59 +0000 (-0800) Subject: Show the pool counter key and use English for the debug logging X-Git-Tag: 1.31.0-rc.0~16960^2 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=caae402f2ee7aa9d9f7ae911491f576d5f182d5e;p=lhc%2Fweb%2Fwiklou.git Show the pool counter key and use English for the debug logging Change-Id: I69c3ece80dd59ad8dbd4fc4e1cf2d6491d135fb7 --- diff --git a/includes/PoolCounter.php b/includes/PoolCounter.php index 2dac9388c0..b4f14c21d7 100644 --- a/includes/PoolCounter.php +++ b/includes/PoolCounter.php @@ -186,7 +186,8 @@ abstract class PoolCounterWork { * @return void */ function logError( $status ) { - wfDebugLog( 'poolcounter', $status->getWikiText() ); + wfDebugLog( 'poolcounter', "Pool key '{$this->key}':" + . $status->getMessage()->inLanguage( 'en' )->useDatabase( false )->text() ); } /**