Ashar Voultoiz wrote:
! $r .= '<h2>' . wfMsg( 'subcategories' ) . "</h2>\n"; ! ! $numchild = count( $children ); ! if($numchild == 1) { ! $r .= wfMsg( 'subcategorycount1', 1 ); ! } else { ! $r .= wfMsg( 'subcategorycount' , $numchild ); ! } ! unset($numchild);
That is quite English centric and discriminates against languages where numbers were differently. :-(
wikitech-l@lists.wikimedia.org