From: Tim Starling Date: Thu, 18 Mar 2010 05:42:01 +0000 (+0000) Subject: Don't send hundreds of lines of useless progress messages to stdout. X-Git-Tag: 1.31.0-rc.0~37425 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=fc0baecbd3075ee051bb4fe934f274543aef67e9;p=lhc%2Fweb%2Fwiklou.git Don't send hundreds of lines of useless progress messages to stdout. --- diff --git a/maintenance/namespaceDupes.php b/maintenance/namespaceDupes.php index 358285f42e..dd29558cd1 100644 --- a/maintenance/namespaceDupes.php +++ b/maintenance/namespaceDupes.php @@ -153,20 +153,12 @@ class NamespaceConflictChecker extends Maintenance { * @param $suffix String Suffix to append to renamed articles */ private function checkNamespace( $ns, $name, $fix, $suffix = '' ) { - if( $ns == 0 ) { - $header = "Checking interwiki prefix: \"$name\"\n"; - } else { - $header = "Checking namespace $ns: \"$name\"\n"; - } - $conflicts = $this->getConflicts( $ns, $name ); $count = count( $conflicts ); if( $count == 0 ) { - $this->output( $header . "... no conflict detected!\n" ); return true; } - $this->output( $header . "... $count conflicts detected:\n" ); $ok = true; foreach( $conflicts as $row ) { $resolvable = $this->reportConflict( $row, $suffix );