Use commaList() for better i18n
authorRaimond Spekking <raymond@users.mediawiki.org>
Sat, 13 Mar 2010 16:50:36 +0000 (16:50 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Sat, 13 Mar 2010 16:50:36 +0000 (16:50 +0000)
includes/Title.php

index 7faedde..80f5892 100644 (file)
@@ -1225,9 +1225,10 @@ class Title {
                        }
 
                        if( $groups ) {
+                               global $wgLang;
                                $return = array( 
                                        'badaccess-groups',
-                                       implode( ', ', $groups ), 
+                                       $wgLang->commaList( $groups ), 
                                        count( $groups )
                                );
                        } else {