From 97aec9cf509f25fa5ed884e9d53ae5264964c01d Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Sun, 4 Dec 2011 13:20:26 +0000 Subject: [PATCH] follow-up 104454: use list() --- ContributionScores_body.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ContributionScores_body.php b/ContributionScores_body.php index 240d72f..b8497fe 100644 --- a/ContributionScores_body.php +++ b/ContributionScores_body.php @@ -208,8 +208,7 @@ class ContributionScores extends IncludableSpecialPage { $wgOut->addWikiMsg( 'contributionscores-info' ); foreach ( $wgContribScoreReports as $scoreReport ) { - $days = $scoreReport[0]; - $revs = $scoreReport[1]; + list( $days, $revs ) = $scoreReport; if ( $days > 0 ) { $reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $wgLang->formatNum( $days ) ); } else {