follow-up 104454: use list()
This commit is contained in:
parent
60607e9a31
commit
97aec9cf50
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue