registration: Improve duplicate config setting exception
[lhc/web/wiklou.git] / maintenance / migrateArchiveText.php
index dd78a7d..b2b14cb 100644 (file)
@@ -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;