r78606 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78605‎ | r78606 | r78607 >
Date:21:28, 19 December 2010
Author:rfaulk
Status:deferred
Tags:
Comment:
Updated reporting html, sql, and php to allow for testing of landing pages only both aggregate and hour by hour.
Modified paths:
  • /trunk/fundraiser-statistics/reporting/banner_test_proc.php (modified) (history)
  • /trunk/fundraiser-statistics/reporting/fundraiser_analytics.html (modified) (history)

Diff [purge]

Index: trunk/fundraiser-statistics/reporting/fundraiser_analytics.html
@@ -38,6 +38,8 @@
3939 <a href="http://fundraising.wikimedia.org/stats/banner_test.html">By Campaign and Time - Banner / LPs</a><br>
4040 <a href="http://fundraising.wikimedia.org/stats/banner_test_by_hour.html">By Campaign and Time - Banner / LPs - by hour</a><br>
4141 <a href="http://fundraising.wikimedia.org/stats/banner_test_banners.html">By Campaign and Time - Banners</a><br>
 42+<a href="http://fundraising.wikimedia.org/stats/landing_page_test.html">By Campaign and Time - LPs</a><br>
 43+<a href="http://fundraising.wikimedia.org/stats/landing_page_test_by_hour.html">By Campaign and Time - LPs - by hour</a><br>
4244
4345 <br>
4446
Index: trunk/fundraiser-statistics/reporting/banner_test_proc.php
@@ -43,6 +43,10 @@
4444
4545 if ($sql_file == "banner_test.sql" || $sql_file == "banner_test_banners.sql") {
4646 $query = sprintf($query, $start, $end, $start, $end, $cmpgn, $start, $end, $cmpgn, $start, $end, $cmpgn, "%");
 47+} elseif ($sql_file == "landing_page_test.sql") {
 48+ $query = sprintf($query, $start, $end, $cmpgn, $start, $end, $cmpgn);
 49+} elseif ($sql_file == "landing_page_test_by_hour.sql") {
 50+ $query = sprintf($query, "%", "%", "%", "%", $start, $end, $cmpgn, "%", "%", "%", "%", $start, $end, $cmpgn);
4751 } elseif ($sql_file == "banner_test_by_hour.sql") {
4852 $query = sprintf($query, "%", "%", "%", "%", $start, $end, "%", "%", "%", "%", $start, $end, $cmpgn, "%", "%", "%", "%", $start, $end, $cmpgn, "%", "%", "%", "%", $start, $end, $cmpgn, "%");
4953 }

Status & tagging log