Index: trunk/phase3/maintenance/namespaceDupes.php |
— | — | @@ -153,20 +153,12 @@ |
154 | 154 | * @param $suffix String Suffix to append to renamed articles |
155 | 155 | */ |
156 | 156 | private function checkNamespace( $ns, $name, $fix, $suffix = '' ) { |
157 | | - if( $ns == 0 ) { |
158 | | - $header = "Checking interwiki prefix: \"$name\"\n"; |
159 | | - } else { |
160 | | - $header = "Checking namespace $ns: \"$name\"\n"; |
161 | | - } |
162 | | - |
163 | 157 | $conflicts = $this->getConflicts( $ns, $name ); |
164 | 158 | $count = count( $conflicts ); |
165 | 159 | if( $count == 0 ) { |
166 | | - $this->output( $header . "... no conflict detected!\n" ); |
167 | 160 | return true; |
168 | 161 | } |
169 | 162 | |
170 | | - $this->output( $header . "... $count conflicts detected:\n" ); |
171 | 163 | $ok = true; |
172 | 164 | foreach( $conflicts as $row ) { |
173 | 165 | $resolvable = $this->reportConflict( $row, $suffix ); |