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:
0532c26
)
Include timestamp and database in rate limiter log (applying live patch)
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 29 May 2005 00:23:41 +0000
(
00:23
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 29 May 2005 00:23:41 +0000
(
00:23
+0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
b1cd8f1
..
7d637cb
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-439,7
+439,7
@@
class User {
if( $count > $max ) {
wfDebug( "$fname: tripped! $key at $count $summary\n" );
if( $wgRateLimitLog ) {
- @error_log(
$this->getName() . ":
tripped $key at $count $summary\n", 3, $wgRateLimitLog );
+ @error_log(
wfTimestamp( TS_MW ) . ' ' . $wgDBname . ': ' . $this->getName() . "
tripped $key at $count $summary\n", 3, $wgRateLimitLog );
}
$triggered = true;
} else {