diff options
-rw-r--r-- | includes/installer/DatabaseUpdater.php | 4 | ||||
-rw-r--r-- | maintenance/migrateLinksTable.php | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 7ba37c6ca9a2..8527e4c78d47 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -1207,7 +1207,7 @@ abstract class DatabaseUpdater { protected function migrateTemplatelinks() { if ( $this->updateRowExists( MigrateLinksTable::class . 'templatelinks' ) ) { - $this->output( "Templatelinks table have been already migrated...\n" ); + $this->output( "...templatelinks table has already been migrated.\n" ); return; } /** @@ -1221,7 +1221,7 @@ abstract class DatabaseUpdater { 'force' => true, 'table' => 'templatelinks' ] ); - $this->output( "Running migrate templatelinks...\n" ); + $this->output( "Running migrateLinksTable.php on templatelinks...\n" ); $task->execute(); $this->output( "done.\n" ); } diff --git a/maintenance/migrateLinksTable.php b/maintenance/migrateLinksTable.php index 6984e5fde3ca..bc3f374a12f6 100644 --- a/maintenance/migrateLinksTable.php +++ b/maintenance/migrateLinksTable.php @@ -49,11 +49,11 @@ class MigrateLinksTable extends LoggedUpdateMaintenance { return false; } if ( !$dbw->tableExists( 'linktarget', __METHOD__ ) ) { - $this->output( "Run update.php to create the table.\n" ); + $this->output( "Run update.php to create the linktarget table.\n" ); return true; } - $this->output( "Starting the populating $targetColumn column\n" ); + $this->output( "Populating the $targetColumn column\n" ); $updated = 0; $highestPageId = $dbw->newSelectQueryBuilder() @@ -77,10 +77,7 @@ class MigrateLinksTable extends LoggedUpdateMaintenance { $pageId += $this->getBatchSize(); } - $this->output( - "Completed populating normalization of $table, " - . "$updated rows updated.\n" - ); + $this->output( "Completed normalization of $table, $updated rows updated.\n" ); return true; } |