r102211 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102210‎ | r102211 | r102212 >
Date:23:55, 6 November 2011
Author:mah
Status:ok
Tags:
Comment:
re r102036: s/addWikiText.wfMag/addWikiMsg/;
Modified paths:
  • /trunk/extensions/ContributionReporting/ContributionStatistics_body.php (modified) (history)
  • /trunk/extensions/ContributionReporting/ContributionTrackingStatistics_body.php (modified) (history)
  • /trunk/extensions/ContributionReporting/FundraiserStatistics_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ContributionReporting/ContributionTrackingStatistics_body.php
@@ -27,7 +27,7 @@
2828 // Begin output
2929 $this->setHeaders();
3030
31 - $wgOut->addWikiText(wfMsg('contribstats-header'));
 31+ $wgOut->addWikiMsg('contribstats-header');
3232 // Build Header
3333 $htmlOut = Xml::openElement( 'table',
3434 array(
@@ -66,7 +66,7 @@
6767 $offset = SpecialContributionTrackingStatistics::$number_of_days_to_show * 24 * 60 * 60;
6868 $this->showTotalsForRange( array( ( $end - $offset ), $end ), $format );
6969 }
70 - $wgOut->addWikiText(wfMsg('contribstats-footer'));
 70+ $wgOut->addWikiMsg('contribstats-footer');
7171 }
7272
7373 /* Display Functions */
Index: trunk/extensions/ContributionReporting/FundraiserStatistics_body.php
@@ -87,7 +87,7 @@
8888
8989 /* Display */
9090
91 - $wgOut->addWikiText(wfMsg('contribstats-header'));
 91+ $wgOut->addWikiMsg('contribstats-header');
9292 // Chart maximums
9393 foreach ( $egFundraiserStatisticsFundraisers as $fundraiser ) {
9494 foreach ( $charts as $name => $chart ) {
@@ -261,7 +261,7 @@
262262 Xml::tags( 'tr', null, Xml::tags( 'td', null, $htmlViews ) )
263263 )
264264 );
265 - $wgOut->addWikiText(wfMsg('contribstats-footer'));
 265+ $wgOut->addWikiMsg('contribstats-footer');
266266 }
267267
268268 /* Private Functions */
Index: trunk/extensions/ContributionReporting/ContributionStatistics_body.php
@@ -53,7 +53,7 @@
5454 // Begin output
5555 $this->setHeaders();
5656
57 - $wgOut->addWikiText(wfMsg('contribstats-header'));
 57+ $wgOut->addWikiMsg('contribstats-header');
5858 // Show daily totals if the range includes today
5959 if( $this->mEndDate > time() && $this->mStartDate < time() ) {
6060 $this->showDailyTotals( $egContributionStatisticsViewDays );
@@ -67,7 +67,7 @@
6868
6969 // Show contribution breakdown
7070 $this->showContributionBreakdown();
71 - $wgOut->addWikiText(wfMsg('contribstats-footer'));
 71+ $wgOut->addWikiMsg('contribstats-footer');
7272 }
7373
7474 /* Display Functions */

Follow-up revisions

RevisionCommit summaryAuthorDate
r102697MFT r45856, r71558, r71962, r73304, r73309, r75671, r75680, r75726, r76542, r...awjrichards22:02, 10 November 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r102036Fix Bug #25430 -- "Fundraising-related Special pages need header and...mah20:11, 4 November 2011

Status & tagging log