dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Show the pool counter key and use English for the debug logging
[lhc/web/wiklou.git]
/
includes
/
PoolCounter.php
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() );
}
/**