Index: trunk/extensions/ContributionReporting/ContributionTrackingStatistics_body.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | // Begin output |
29 | 29 | $this->setHeaders(); |
30 | 30 | |
31 | | - $wgOut->addWikiText(wfMsg('contribstats-header')); |
| 31 | + $wgOut->addWikiMsg('contribstats-header'); |
32 | 32 | // Build Header |
33 | 33 | $htmlOut = Xml::openElement( 'table', |
34 | 34 | array( |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | $offset = SpecialContributionTrackingStatistics::$number_of_days_to_show * 24 * 60 * 60; |
68 | 68 | $this->showTotalsForRange( array( ( $end - $offset ), $end ), $format ); |
69 | 69 | } |
70 | | - $wgOut->addWikiText(wfMsg('contribstats-footer')); |
| 70 | + $wgOut->addWikiMsg('contribstats-footer'); |
71 | 71 | } |
72 | 72 | |
73 | 73 | /* Display Functions */ |
Index: trunk/extensions/ContributionReporting/FundraiserStatistics_body.php |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | |
89 | 89 | /* Display */ |
90 | 90 | |
91 | | - $wgOut->addWikiText(wfMsg('contribstats-header')); |
| 91 | + $wgOut->addWikiMsg('contribstats-header'); |
92 | 92 | // Chart maximums |
93 | 93 | foreach ( $egFundraiserStatisticsFundraisers as $fundraiser ) { |
94 | 94 | foreach ( $charts as $name => $chart ) { |
— | — | @@ -261,7 +261,7 @@ |
262 | 262 | Xml::tags( 'tr', null, Xml::tags( 'td', null, $htmlViews ) ) |
263 | 263 | ) |
264 | 264 | ); |
265 | | - $wgOut->addWikiText(wfMsg('contribstats-footer')); |
| 265 | + $wgOut->addWikiMsg('contribstats-footer'); |
266 | 266 | } |
267 | 267 | |
268 | 268 | /* Private Functions */ |
Index: trunk/extensions/ContributionReporting/ContributionStatistics_body.php |
— | — | @@ -53,7 +53,7 @@ |
54 | 54 | // Begin output |
55 | 55 | $this->setHeaders(); |
56 | 56 | |
57 | | - $wgOut->addWikiText(wfMsg('contribstats-header')); |
| 57 | + $wgOut->addWikiMsg('contribstats-header'); |
58 | 58 | // Show daily totals if the range includes today |
59 | 59 | if( $this->mEndDate > time() && $this->mStartDate < time() ) { |
60 | 60 | $this->showDailyTotals( $egContributionStatisticsViewDays ); |
— | — | @@ -67,7 +67,7 @@ |
68 | 68 | |
69 | 69 | // Show contribution breakdown |
70 | 70 | $this->showContributionBreakdown(); |
71 | | - $wgOut->addWikiText(wfMsg('contribstats-footer')); |
| 71 | + $wgOut->addWikiMsg('contribstats-footer'); |
72 | 72 | } |
73 | 73 | |
74 | 74 | /* Display Functions */ |