dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57551f4
)
Show the pool counter key and use English for the debug logging
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 7 Feb 2014 22:03:59 +0000
(14:03 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 7 Feb 2014 22:03:59 +0000
(14:03 -0800)
Change-Id: I69c3ece80dd59ad8dbd4fc4e1cf2d6491d135fb7
includes/PoolCounter.php
patch
|
blob
|
history
diff --git
a/includes/PoolCounter.php
b/includes/PoolCounter.php
index
2dac938
..
b4f14c2
100644
(file)
--- 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() );
}
/**