X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateChangeTagDef.php;h=707eb29f75833c10a24b9b4c84b696624734eae1;hb=c85bcf09dabbeee32df63fc231541e27e0239cee;hp=b2e976c96091285e2b00524f1969010f5b21418c;hpb=98084f14d3de73c007698b711131819d0479be6e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateChangeTagDef.php b/maintenance/populateChangeTagDef.php index b2e976c960..707eb29f75 100644 --- a/maintenance/populateChangeTagDef.php +++ b/maintenance/populateChangeTagDef.php @@ -151,7 +151,7 @@ class PopulateChangeTagDef extends Maintenance { $dbw = $this->lbFactory->getMainLB()->getConnection( DB_MASTER ); $sleep = (int)$this->getOption( 'sleep', 10 ); $lastId = 0; - $this->output( "Starting to add ct_tag_id = {$tagId} for ct_tag = {$tagName}" ); + $this->output( "Starting to add ct_tag_id = {$tagId} for ct_tag = {$tagName}\n" ); while ( true ) { // Given that indexes might not be there, it's better to use replica $ids = $dbr->selectFieldValues( @@ -173,7 +173,7 @@ class PopulateChangeTagDef extends Maintenance { ); continue; } else { - $this->output( "Updating ct_tag_id = {$tagId} up to row ct_id = {$lastId}" ); + $this->output( "Updating ct_tag_id = {$tagId} up to row ct_id = {$lastId}\n" ); } $dbw->update( @@ -189,7 +189,7 @@ class PopulateChangeTagDef extends Maintenance { } } - $this->output( "Finished adding ct_tag_id = {$tagId} for ct_tag = {$tagName}" ); + $this->output( "Finished adding ct_tag_id = {$tagId} for ct_tag = {$tagName}\n" ); } }