Per r104454#c26637, it's possible to use a localized number in PLURAL
This commit is contained in:
@@ -182,7 +182,7 @@ class ContributionScores extends IncludableSpecialPage {
|
||||
}
|
||||
|
||||
if ( $days > 0 ) {
|
||||
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $days, $wgLang->formatNum( $days ) );
|
||||
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $wgLang->formatNum( $days ) );
|
||||
} else {
|
||||
$reportTitle = wfMsg( 'contributionscores-allrevisions' );
|
||||
}
|
||||
@@ -211,7 +211,7 @@ class ContributionScores extends IncludableSpecialPage {
|
||||
$days = $scoreReport[0];
|
||||
$revs = $scoreReport[1];
|
||||
if ( $days > 0 ) {
|
||||
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $days, $wgLang->formatNum( $days ) );
|
||||
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $wgLang->formatNum( $days ) );
|
||||
} else {
|
||||
$reportTitle = wfMsg( 'contributionscores-allrevisions' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user