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' );
|
$wgOut->addWikiMsg( 'contributionscores-info' );
|
||||||
|
|
||||||
foreach ( $wgContribScoreReports as $scoreReport ) {
|
foreach ( $wgContribScoreReports as $scoreReport ) {
|
||||||
$days = $scoreReport[0];
|
list( $days, $revs ) = $scoreReport;
|
||||||
$revs = $scoreReport[1];
|
|
||||||
if ( $days > 0 ) {
|
if ( $days > 0 ) {
|
||||||
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $wgLang->formatNum( $days ) );
|
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $wgLang->formatNum( $days ) );
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue