| Index: branches/wmf/1.16wmf4/extensions/ContributionReporting/FundraiserStatistics_body.php |
| — | — | @@ -27,7 +27,7 @@ |
| 28 | 28 | 'query' => 'dailyTotalMax', |
| 29 | 29 | 'precision' => 2, |
| 30 | 30 | 'label' => 'fundraiserstats-total', |
| 31 | | - 'max' => 0, |
| | 31 | + 'max' => 1, |
| 32 | 32 | ), |
| 33 | 33 | 'contributions' => array( |
| 34 | 34 | 'data' => array(), |
| — | — | @@ -35,7 +35,7 @@ |
| 36 | 36 | 'query' => 'contributionsMax', |
| 37 | 37 | 'precision' => 0, |
| 38 | 38 | 'label' => 'fundraiserstats-contributions', |
| 39 | | - 'max' => 0, |
| | 39 | + 'max' => 1, |
| 40 | 40 | ), |
| 41 | 41 | 'averages' => array( |
| 42 | 42 | 'data' => array(), |
| — | — | @@ -43,7 +43,7 @@ |
| 44 | 44 | 'query' => 'averagesMax', |
| 45 | 45 | 'precision' => 2, |
| 46 | 46 | 'label' => 'fundraiserstats-avg', |
| 47 | | - 'max' => 0, |
| | 47 | + 'max' => 1, |
| 48 | 48 | ), |
| 49 | 49 | 'maximums' => array( |
| 50 | 50 | 'data' => array(), |
| — | — | @@ -51,7 +51,7 @@ |
| 52 | 52 | 'query' => 'maximumsMax', |
| 53 | 53 | 'precision' => 2, |
| 54 | 54 | 'label' => 'fundraiserstats-max', |
| 55 | | - 'max' => 0, |
| | 55 | + 'max' => 1, |
| 56 | 56 | ), |
| 57 | 57 | 'ytd' => array( |
| 58 | 58 | 'data' => array(), |
| — | — | @@ -59,7 +59,7 @@ |
| 60 | 60 | 'query' => 'yearlyTotalMax', |
| 61 | 61 | 'precision' => 2, |
| 62 | 62 | 'label' => 'fundraiserstats-ytd', |
| 63 | | - 'max' => 0, |
| | 63 | + 'max' => 1, |
| 64 | 64 | ), |
| 65 | 65 | ); |
| 66 | 66 | |
| — | — | @@ -159,6 +159,9 @@ |
| 160 | 160 | } |
| 161 | 161 | } |
| 162 | 162 | } |
| | 163 | + // Instructions |
| | 164 | + $wgOut->addWikiMsg( 'fundraiserstats-instructions' ); |
| | 165 | + |
| 163 | 166 | // Tabs |
| 164 | 167 | $first = true; |
| 165 | 168 | $htmlCharts = Xml::openElement( 'div', array( 'class' => 'fundraiserstats-chart-tabs' ) ); |
| Index: branches/wmf/1.16wmf4/extensions/ContributionReporting/ContributionReporting.i18n.php |
| — | — | @@ -92,6 +92,7 @@ |
| 93 | 93 | 'fundraiserstats-tab-averages' => 'Averages (USD)', |
| 94 | 94 | 'fundraiserstats-tab-maximums' => 'Maximums (USD)', |
| 95 | 95 | '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.', |
| 96 | 97 | ); |
| 97 | 98 | |
| 98 | 99 | /** Message documentation (Message documentation) |
| Property changes on: branches/wmf/1.16wmf4/extensions/ContributionReporting |
| ___________________________________________________________________ |
| Modified: svn:mergeinfo |
| 99 | 100 | Merged /trunk/extensions/ContributionReporting:r77217,77219,77236 |