X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmigrateArchiveText.php;h=b2b14cbdc4c389e153c2eed34f379e3611a712a2;hb=cb20bab28c37cd84f6489e13fe51d4632885e9df;hp=dd78a7dec851325a42e79b8e9edc47ec21ac1ef0;hpb=38ab0b0c4cb041d9c4ff0ca4b62656d2768df79a;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/migrateArchiveText.php b/maintenance/migrateArchiveText.php index dd78a7dec8..b2b14cbdc4 100644 --- a/maintenance/migrateArchiveText.php +++ b/maintenance/migrateArchiveText.php @@ -24,7 +24,7 @@ require_once __DIR__ . '/Maintenance.php'; /** - * Maintenance script that migrates archive.ar_text and ar_flags to modern storage + * Maintenance script that migrates archive.ar_text and ar_flags to text storage * * @ingroup Maintenance * @since 1.31 @@ -33,7 +33,7 @@ class MigrateArchiveText extends LoggedUpdateMaintenance { public function __construct() { parent::__construct(); $this->addDescription( - 'Migrates comments from pre-1.5 ar_text and ar_flags columns to modern storage' + 'Migrates content from pre-1.5 ar_text and ar_flags columns to text storage' ); $this->addOption( 'replace-missing', @@ -143,7 +143,7 @@ class MigrateArchiveText extends LoggedUpdateMaintenance { } $this->output( "... $last\n" ); - // $this->commitTransaction() already waited for slaves, no need to re-wait here. + // $this->commitTransaction() already waited for replication; no need to re-wait here } $this->output( "Completed ar_text migration, $count rows updated, $errors missing data.\n" ); @@ -155,5 +155,5 @@ class MigrateArchiveText extends LoggedUpdateMaintenance { } } -$maintClass = "MigrateArchiveText"; +$maintClass = MigrateArchiveText::class; require_once RUN_MAINTENANCE_IF_MAIN;