From 72e90545454c0e014318fa3c81658e035aac58c1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 10 Jun 2009 13:00:47 +0200 Subject: applying patch to version 1.15.0 --- maintenance/orphans.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '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 ) ); -- cgit v1.2.3-54-g00ecf