Index: trunk/extensions/Tasks/Tasks.php |
— | — | @@ -1346,7 +1346,7 @@ |
1347 | 1347 | * Special page main function |
1348 | 1348 | */ |
1349 | 1349 | function execute( $par = null ) { # Checked for HTML and MySQL insertion attacks |
1350 | | - global $wgOut, $wgRequest, $wgUser, $wgTitle; |
| 1350 | + global $wgOut, $wgRequest, $wgUser, $wgTitle, $wgLang; |
1351 | 1351 | $fname = 'Special::Tasks:execute'; |
1352 | 1352 | |
1353 | 1353 | $out = ''; |
— | — | @@ -1395,7 +1395,9 @@ |
1396 | 1396 | if( $data->num == 0 ) { |
1397 | 1397 | $out .= wfMsgHTML( 'tasks_you_have_no_assignments' ) . '.' ; |
1398 | 1398 | } else { |
1399 | | - $out .= wfMsgExt( 'tasks_see_your_assignments', array( 'escape', 'parsemag' ), $data->num, $link ) ; |
| 1399 | + $out .= wfMsgExt( 'tasks_see_your_assignments', |
| 1400 | + array( 'escape', 'parsemag' ), |
| 1401 | + $wgLang->formatNum( $data->num ), $link ) ; |
1400 | 1402 | } |
1401 | 1403 | $out .= '</p>'; |
1402 | 1404 | |