From: Sam Reed Date: Tue, 13 Dec 2011 16:51:24 +0000 (+0000) Subject: Add a newline, the below isn't too readable X-Git-Tag: 1.31.0-rc.0~26000 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=7fc5a02098950afee710773212a3ff2fa3a7a4ec;p=lhc%2Fweb%2Fwiklou.git Add a newline, the below isn't too readable Fixing protocol-relative entries in the externallinks table... 10020030040050060070080090010001100120013001400150016001700180019002000Done, 2007 rows updated. --- diff --git a/maintenance/fixExtLinksProtocolRelative.php b/maintenance/fixExtLinksProtocolRelative.php index 1a7025ad10..0cabe8160e 100644 --- a/maintenance/fixExtLinksProtocolRelative.php +++ b/maintenance/fixExtLinksProtocolRelative.php @@ -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',