r107903 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r107902
|
r107903
|
r107904
>
Date:
17:16, 3 January 2012
Author:
catrope
Status:
ok
Tags:
Comment:
Fix evil quirk in ClickTracking UDP output: '1' was output for logged-in users, but nothing was output for anons. This messes up the column-based nature of the data, so output '0' for anons instead
Modified paths:
/trunk/extensions/ClickTracking/ClickTracking.hooks.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/ClickTracking/ClickTracking.hooks.php
—
—
@@ -236,7 +236,7 @@
237
237
// Replace tabs with spaces in all strings
238
238
str_replace( "\t", ' ', $eventName ),
239
239
wfTimestampNow(),
240
- (bool)$isLoggedIn,
240
+ (int)$isLoggedIn,
241
241
str_replace( "\t", ' ', $sessionId ),
242
242
(int)$namespace,
243
243
(int)$contribs,
Follow-up revisions
Revision
Commit summary
Author
Date
r108016
1.18wmf1: MFT
r107903
catrope
11:32, 4 January 2012
Status & tagging log
18:23, 5 January 2012
MarkAHershberger
(
talk
|
contribs
)
changed the
status
of r107903
[
removed:
new
added:
ok]