Index: trunk/extensions/AbuseFilter/SpecialAbuseLog.php |
— | — | @@ -265,7 +265,7 @@ |
266 | 266 | foreach ( $actions as $action ) { |
267 | 267 | $displayActions[] = AbuseFilter::getActionDisplay( $action ); |
268 | 268 | } |
269 | | - $actions_taken = implode( ', ', $displayActions ); |
| 269 | + $actions_taken = $wgLang->commaList( $displayActions ); |
270 | 270 | } |
271 | 271 | |
272 | 272 | $globalIndex = AbuseFilter::decodeGlobalName( $row->afl_filter ); |
Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewList.php |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | foreach ( $actions as $action ) { |
217 | 217 | $displayActions[] = AbuseFilter::getActionDisplay( $action ); ; |
218 | 218 | } |
219 | | - return htmlspecialchars( implode( ', ', $displayActions ) ); |
| 219 | + return htmlspecialchars( $wgLang->commaList( $displayActions ) ); |
220 | 220 | case 'af_enabled': |
221 | 221 | $statuses = array(); |
222 | 222 | if ( $row->af_deleted ) |
Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewRevert.php |
— | — | @@ -70,7 +70,7 @@ |
71 | 71 | $sk->userLink( $result['userid'], $result['user'] ), |
72 | 72 | $result['action'], |
73 | 73 | $sk->link( $result['title'] ), |
74 | | - implode( ', ', $displayActions ), |
| 74 | + $wgLang->commaList( $displayActions ), |
75 | 75 | $sk->link( |
76 | 76 | SpecialPage::getTitleFor( 'AbuseLog' ), |
77 | 77 | wfMsgNoTrans( 'abusefilter-log-detailslink' ), |