+ $comment = '(' . $contLang->truncateForVisual( $comment, 40 ) . ')';
+ }
+ $rev_user_text = $contLang->truncateForVisual( $row->rev_user_text, 20 );
+ # pad $rev_user_text to 20 characters. Note that this may
+ # yield poor results if $rev_user_text contains combining
+ # or half-width characters. Alas.
+ if ( mb_strlen( $rev_user_text ) < 20 ) {
+ $rev_user_text = str_repeat( ' ', 20 - mb_strlen( $rev_user_text ) );