r77265 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77264‎ | r77265 | r77266 >
Date:23:11, 24 November 2010
Author:tomasz
Status:ok
Tags:
Comment:
Picking up 77217, 77219, 77236
Modified paths:
  • /branches/wmf/1.16wmf4/extensions/ContributionReporting (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/ContributionReporting/ContributionReporting.i18n.php (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/ContributionReporting/FundraiserStatistics_body.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/extensions/ContributionReporting/FundraiserStatistics_body.php
@@ -27,7 +27,7 @@
2828 'query' => 'dailyTotalMax',
2929 'precision' => 2,
3030 'label' => 'fundraiserstats-total',
31 - 'max' => 0,
 31+ 'max' => 1,
3232 ),
3333 'contributions' => array(
3434 'data' => array(),
@@ -35,7 +35,7 @@
3636 'query' => 'contributionsMax',
3737 'precision' => 0,
3838 'label' => 'fundraiserstats-contributions',
39 - 'max' => 0,
 39+ 'max' => 1,
4040 ),
4141 'averages' => array(
4242 'data' => array(),
@@ -43,7 +43,7 @@
4444 'query' => 'averagesMax',
4545 'precision' => 2,
4646 'label' => 'fundraiserstats-avg',
47 - 'max' => 0,
 47+ 'max' => 1,
4848 ),
4949 'maximums' => array(
5050 'data' => array(),
@@ -51,7 +51,7 @@
5252 'query' => 'maximumsMax',
5353 'precision' => 2,
5454 'label' => 'fundraiserstats-max',
55 - 'max' => 0,
 55+ 'max' => 1,
5656 ),
5757 'ytd' => array(
5858 'data' => array(),
@@ -59,7 +59,7 @@
6060 'query' => 'yearlyTotalMax',
6161 'precision' => 2,
6262 'label' => 'fundraiserstats-ytd',
63 - 'max' => 0,
 63+ 'max' => 1,
6464 ),
6565 );
6666
@@ -159,6 +159,9 @@
160160 }
161161 }
162162 }
 163+ // Instructions
 164+ $wgOut->addWikiMsg( 'fundraiserstats-instructions' );
 165+
163166 // Tabs
164167 $first = true;
165168 $htmlCharts = Xml::openElement( 'div', array( 'class' => 'fundraiserstats-chart-tabs' ) );
Index: branches/wmf/1.16wmf4/extensions/ContributionReporting/ContributionReporting.i18n.php
@@ -92,6 +92,7 @@
9393 'fundraiserstats-tab-averages' => 'Averages (USD)',
9494 'fundraiserstats-tab-maximums' => 'Maximums (USD)',
9595 'fundraiserstats-tab-ytd' => 'Year-to-date (USD)',
 96+ 'fundraiserstats-instructions' => 'To view statistics for any day, hover the cursor over the bar for that day. Each year is a different color on the chart.',
9697 );
9798
9899 /** Message documentation (Message documentation)
Property changes on: branches/wmf/1.16wmf4/extensions/ContributionReporting
___________________________________________________________________
Modified: svn:mergeinfo
99100 Merged /trunk/extensions/ContributionReporting:r77217,77219,77236

Status & tagging log