r55206 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55205‎ | r55206 | r55207 >
Date:21:39, 17 August 2009
Author:brion
Status:ok
Tags:
Comment:
Merge r54895, r54909 -- save new timestamp field
Modified paths:
  • /branches/wmf-deployment/extensions/ContributionTracking (modified) (history)
  • /branches/wmf-deployment/extensions/ContributionTracking/ContributionTracking_body.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/ContributionTracking/ContributionTracking_body.php
@@ -26,7 +26,9 @@
2727 }
2828
2929 $db = contributionTrackingConnection();
30 -
 30+
 31+ $ts = $db->timestamp();
 32+
3133 $tracked_contribution = array(
3234 'note' => $wgRequest->getText('comment', NULL),
3335 'referrer' => $wgRequest->getText('referrer', NULL),
@@ -36,6 +38,7 @@
3739 'utm_campaign' => $wgRequest->getText('utm_campaign', NULL),
3840 'optout' => ($wgRequest->getCheck('email', 0) ? 0 : 1),
3941 'language' => $wgRequest->getText('language', NULL),
 42+ 'ts' => $ts,
4043 );
4144
4245 // Make all empty strings NULL
Property changes on: branches/wmf-deployment/extensions/ContributionTracking
___________________________________________________________________
Name: svn:mergeinfo
4346 + /branches/REL1_15/phase3/extensions/ContributionTracking:51646
/trunk/extensions/ContributionTracking:52859,52871-52872,52876,53191,53205-53206,53272,54715,54758,54762,54778,54781,54786,54810-54811,54895,54909,55178
/trunk/phase3/ContributionTracking:52859,53272
/trunk/phase3/extensions/ContributionTracking:52290,52402,52404,52718,52737,52759,52776,52791,52800,52808,52812-52813,52815-52819,52822,52846,52850,52852-52853,52855-52857,52859,52924,52986,53128-53129,53190,53197,53199,53203-53204,53210-53211,53247,53249,53252,53267,53270,53293,53305,53344,53369,53427,53502-53504,53506,53777,54384,54494,54592,54599-54602,54604,54613,54764,54793,54806,55178

Past revisions this follows-up on

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

Status & tagging log