r58986 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58985‎ | r58986 | r58987 >
Date:23:04, 12 November 2009
Author:nimishg
Status:deferred
Tags:
Comment:
Fixed PHP syntax, added messages
Modified paths:
  • /trunk/extensions/ContributionReporting/ContributionReporting.i18n.php (modified) (history)
  • /trunk/extensions/ContributionReporting/ContributionTrackingStatistics_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ContributionReporting/ContributionTrackingStatistics_body.php
@@ -89,7 +89,7 @@
9090 $conversion_rate = ( $template[1] == 0 ) ? 0 : ( $template[2] / $template[1] ) * 100;
9191 $amount = ( $template[3] == 0 ) ? 0 : $template[3];
9292
93 - $expanded_template = explode(".", $template);
 93+ $expanded_template = explode(".", $template[0]);
9494 if(!isset($expanded_template[1])){ $expanded_template[1] = "";}
9595 if(!isset($expanded_template[2])){ $expanded_template[2] = "";}
9696
Index: trunk/extensions/ContributionReporting/ContributionReporting.i18n.php
@@ -64,6 +64,8 @@
6565 'contribstats-conversion' => 'Conversion rate (%)',
6666 'contribstats-template' => 'Template',
6767 'contribstats-nodata' => 'No data provided',
 68+ 'contribstats-landingpage' => 'Landing Page',
 69+ 'contribstats-donatepage' => 'Donate Page',
6870
6971 // Fundraiser statistics
7072 'fundraiserstatistics' => 'Fundraiser statistics',

Status & tagging log