Index: trunk/extensions/SocialProfile/UserStats/GenerateTopUsersReport.php |
— | — | @@ -212,8 +212,9 @@ |
213 | 213 | |
214 | 214 | foreach( $users as $user ) { |
215 | 215 | $userTitle = Title::makeTitle( NS_USER, $user['user_name'] ); |
216 | | - $pageContent .= wfMsgForContent( |
| 216 | + $pageContent .= wfMsgExt( |
217 | 217 | 'user-stats-report-row', |
| 218 | + array( 'content', 'parsemag' ), |
218 | 219 | $user['rank'], |
219 | 220 | $user['user_name'], |
220 | 221 | $wgContLang->formatNum( $user['points'] ) |
— | — | @@ -224,8 +225,9 @@ |
225 | 226 | $userTitle->getFullURL() . "' >" . $user['user_name'] . "</a> |
226 | 227 | </span>"; |
227 | 228 | |
228 | | - $out .= '<span class="top-fan-points">' . wfMsgWikiHtml( |
| 229 | + $out .= '<span class="top-fan-points">' . wfMsgExt( |
229 | 230 | 'user-stats-report-points', |
| 231 | + array( 'content', 'parsemag' ), |
230 | 232 | $wgContLang->formatNum( $user['points'] ) |
231 | 233 | ) . '</span> |
232 | 234 | </div>'; |
Index: trunk/extensions/SocialProfile/UserStats/UserStats.i18n.php |
— | — | @@ -76,11 +76,11 @@ |
77 | 77 | 'generatetopusersreport' => 'Generate Top Users Report', |
78 | 78 | 'user-stats-weekly-winners' => 'Weekly {{PLURAL:$1|Winner|Winners}}', |
79 | 79 | 'user-stats-monthly-winners' => 'Monthly {{PLURAL:$1|Winner|Winners}}', |
80 | | - 'user-stats-weekly-win-congratulations' => 'Congratulations to the following {{PLURAL:$1|user|users}}, who earned a weekly win and $2 extra points!', |
81 | | - 'user-stats-monthly-win-congratulations' => 'Congratulations to the following {{PLURAL:$1|user|users}}, who earned a monthly win and $2 extra points!', |
| 80 | + 'user-stats-weekly-win-congratulations' => 'Congratulations to the following {{PLURAL:$1|user|users}}, who earned a weekly win and $2 extra {{PLURAL:$2|point|points}}!', |
| 81 | + 'user-stats-monthly-win-congratulations' => 'Congratulations to the following {{PLURAL:$1|user|users}}, who earned a monthly win and $2 extra {{PLURAL:$2|point|points}}!', |
82 | 82 | 'user-stats-full-top' => 'Full Top $1', |
83 | | - 'user-stats-report-row' => "($1) [[User:$2|$2]] - '''$3''' points", |
84 | | - 'user-stats-report-points' => "'''$1''' points", |
| 83 | + 'user-stats-report-row' => "($1) [[User:$2|$2]] - '''$3''' {{PLURAL:$3|point|points}}!", |
| 84 | + 'user-stats-report-points' => "'''$1''' {{PLURAL:$1|point|points}}!", |
85 | 85 | 'user-stats-report-generation-note' => 'this page was generated automatically', |
86 | 86 | 'user-stats-report-weekly-edit-summary' => 'automated weekly user report', |
87 | 87 | 'user-stats-report-monthly-edit-summary' => 'automated monthly user report', |