diff --git a/modules/migrate_drupal_ui/src/Form/MigrateUpgradeForm.php b/modules/migrate_drupal_ui/src/Form/MigrateUpgradeForm.php index ffe43136fb..95b9fc5e62 100644 --- a/modules/migrate_drupal_ui/src/Form/MigrateUpgradeForm.php +++ b/modules/migrate_drupal_ui/src/Form/MigrateUpgradeForm.php @@ -142,16 +142,25 @@ class MigrateUpgradeForm extends ConfirmFormBase { } else { $form['info_header'] = [ - '#markup' => '

' . $this->t('Upgrade a site by importing it into a clean and empty new install of Drupal 8. You will lose any existing configuration once you import your site into it. See the online documentation for Drupal site upgrades for more detailed information.', [ + '#markup' => '

' . $this->t('Upgrade a site by importing its database and files into a clean and empty new install of Drupal 8. See the Drupal site upgrades handbook for more information.', [ ':url' => 'https://www.drupal.org/upgrade/migrate', ]), ]; - $info[] = $this->t('Back up the database for this site. Upgrade will change the database for this site.'); - $info[] = $this->t('Make sure that the host this site is on has access to the database for your previous site.'); - $info[] = $this->t('If your previous site has private files to be migrated, a copy of your files directory must be accessible on the host this site is on.'); - $info[] = $this->t('In general, enable all modules on this site that are enabled on the previous site. For example, if you have used the book module on the previous site then you must enable the book module on this site for that data to be available on this site.'); - $info[] = $this->t('Do not add any information on this site (including but not limited to user accounts, taxonomy terms, and node content) before upgrading. Any pre-existing information on the site risks being overwritten by the upgrade process. See the upgrade preparation guide for more information.', [ + $legend[] = $this->t('Old site: the site you want to upgrade'); + $legend[] = $this->t('New site: this empty Drupal 8 installation you will import the old site.'); + + $form['legend'] = [ + '#theme' => 'item_list', + '#list_type' => 'ul', + '#items' => $legend, + ]; + + $info[] = $this->t('You may need multiple tries for a succesful upgrade so backup the database for this new site. The upgrade will change it and you may want to revert to its initial state.'); + $info[] = $this->t('Make sure that access to the database for the old site is available from this new site.'); + $info[] = $this->t('If the old site has private files, a copy of its files directory must also be accessible on the host of this new site.'); + $info[] = $this->t('Enable all modules on this new site that are enabled on the old site. For example, if the old site uses the book module, then enable the book module on this new site so that the existing data can be imported to it.'); + $info[] = $this->t('Do not add any content to the new site before upgrading. Any existing content is likely to be overwritten by the upgrade process. See the upgrade preparation guide.', [ ':url' => 'https://www.drupal.org/docs/8/upgrade/preparing-an-upgrade#dont_create_content', ]); $info[] = $this->t('Put this site into maintenance mode.', [ @@ -165,7 +174,7 @@ class MigrateUpgradeForm extends ConfirmFormBase { ]; $form['info_footer'] = [ - '#markup' => '

' . $this->t('This upgrade can take a long time. It is better to import a local copy of your site instead of directly importing from your live site.'), + '#markup' => '

' . $this->t('The upgrade can take a long time. It is better to upgrade from a local copy of your site instead of directly from your live site.'), ]; $validate = [];