r58930 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58929‎ | r58930 | r58931 >
Date:00:12, 12 November 2009
Author:tomasz
Status:ok
Tags:
Comment:
rolling back part of r54909
Modified paths:
  • /trunk/extensions/ContributionTracking/ContributionTracking_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ContributionTracking/ContributionTracking_body.php
@@ -31,11 +31,11 @@
3232 $tracked_contribution = array(
3333 'note' => $wgRequest->getText('comment', NULL),
3434 'referrer' => $wgRequest->getText('referrer', NULL),
35 - 'anonymous' => $wgRequest->getText('comment-option', 0),
 35+ 'anonymous' => ($wgRequest->getCheck('comment-option', 0) ? 0 : 1),
3636 'utm_source' => $wgRequest->getText('utm_source', NULL),
3737 'utm_medium' => $wgRequest->getText('utm_medium', NULL),
3838 'utm_campaign' => $wgRequest->getText('utm_campaign', NULL),
39 - 'optout' => $wgRequest->getText('email', 0),
 39+ 'optout' => ($wgRequest->getCheck('email', 0) ? 0 : 1),
4040 'language' => $wgRequest->getText('language', NULL),
4141 'ts' => $ts,
4242 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r54909swapping to interal db date formattomasz00:12, 13 August 2009

Status & tagging log