X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/74c929b24b048c9f1e31e17db757ae4195cd7673..dc9cc5d707f5a612938cc9371614cc41c328fda2:/maintenance/orphans.php diff --git a/maintenance/orphans.php b/maintenance/orphans.php index 8ecd9b81..480b7220 100644 --- a/maintenance/orphans.php +++ b/maintenance/orphans.php @@ -63,12 +63,12 @@ function checkOrphans( $fix ) { while( $row = $dbw->fetchObject( $result ) ) { $comment = ( $row->rev_comment == '' ) ? '' - : '(' . $wgContLang->truncate( $row->rev_comment, 40, '...' ) . ')'; + : '(' . $wgContLang->truncate( $row->rev_comment, 40 ) . ')'; printf( "%10d %10d %14s %20s %s\n", $row->rev_id, $row->rev_page, $row->rev_timestamp, - $wgContLang->truncate( $row->rev_user_text, 17, '...' ), + $wgContLang->truncate( $row->rev_user_text, 17 ), $comment ); if( $fix ) { $dbw->delete( 'revision', array( 'rev_id' => $row->rev_id ) );