Add a newline, the below isn't too readable
authorSam Reed <reedy@users.mediawiki.org>
Tue, 13 Dec 2011 16:51:24 +0000 (16:51 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 13 Dec 2011 16:51:24 +0000 (16:51 +0000)
Fixing protocol-relative entries in the externallinks table...
10020030040050060070080090010001100120013001400150016001700180019002000Done, 2007 rows updated.

maintenance/fixExtLinksProtocolRelative.php

index 1a7025a..0cabe81 100644 (file)
@@ -37,7 +37,7 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance {
        protected function updateSkippedMessage() {
                return 'protocol-relative URLs in externallinks table already fixed.';
        }
-       
+
        protected function doDBUpdates() {
                $db = wfGetDB( DB_MASTER );
                if ( !$db->tableExists( 'externallinks' ) ) {
@@ -53,7 +53,7 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance {
                foreach ( $res as $row ) {
                        $count++;
                        if ( $count % 100 == 0 ) {
-                               $this->output( $count );
+                               $this->output( $count . "\n" );
                                wfWaitForSlaves();
                        }
                        $db->insert( 'externallinks',