r58995 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58994‎ | r58995 | r58996 >
Date:01:35, 13 November 2009
Author:nimishg
Status:deferred
Tags:
Comment:
moved allowed templates to local settings
Modified paths:
  • /trunk/extensions/ContributionReporting/ContributionReporting.i18n.php (modified) (history)
  • /trunk/extensions/ContributionReporting/ContributionReporting.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ContributionReporting/ContributionReporting.php
@@ -82,17 +82,8 @@
8383 $egFundraiserStatisticsMinimum = 1;
8484 $egFundraiserStatisticsMaximum = 10000;
8585
86 -// Allowed display templates since users can introduce noise
87 -$wgAllowedTemplates = array(
88 - 'enwiki_00',
89 - 'enwiki_01',
90 - 'enwiki_02',
91 - 'enwiki_03',
92 - 'enwiki_04',
93 - 'enwiki_05',
94 - 'donate'
95 - );
9686
 87+
9788 $wgContributionTrackingStatisticsViewWeeks = 3;
9889
9990 $wgHooks['ParserFirstCallInit'][] = 'efContributionReportingSetup';
Index: trunk/extensions/ContributionReporting/ContributionReporting.i18n.php
@@ -56,7 +56,7 @@
5757
5858 // Tracking Statistics
5959 'contributiontrackingstatistics' => 'Contribution tracking statistics',
60 - 'contribstats-day-totals' => 'Total for today',
 60+ 'contribstats-day-totals' => 'Total for day',
6161 'contribstats-week' => 'Week',
6262 'contribstats-weekly-totals' => '{{PLURAL:$1|Total for this week|Weekly totals for the past $1 weeks inclusive}}',
6363 'contribstats-clicks' => 'Clicks',

Status & tagging log