Skip to content

Migration instructions from 1.x to 2.0

Anca Luca edited this page Sep 12, 2018 · 11 revisions

These instructions describe how to migrate the data from wikidemarches version 1.x to wikidemarches version 2.0. They are written to be used jointly with installation instructions, that describe how to install the 2.0 version of the project.

Copy the following subtrees (with all their descendant pages) from the wikidemat subwiki to the main wiki:

  • Ministeres
  • Directions
  • Publics
  • Evenements

Export the tree "Demarches.WebHome" of the wikidemat wiki by visiting "export/Demarches/?pages=Demarches%25&history=true", then import the XAR into the main wiki after selecting the following options: "Replace history of documents with the one from the archive" and "Import as backup package" (to keep the author as defined in the XAR).

Remove the following pages from the main wiki:

  • Demarches.Code.DINSICTheme
  • Demarches.Code.HomeSheet
  • Demarches.Code.Menu
  • Demarches.Code.Skin
  • Demarches.Code.Translations

Export tree "Avis.WebHome" of the wikidemarches wiki by visiting "export/Avis/?pages=Avis%25&history=true", then import the XAR into the main wiki, after selecting the following options: "Replace history of documents with the one from the archive" and "Import as backup package" (to keep the author as defined in the XAR).

Copy the following subtrees (with all their descendant pages) from the wikidemarches subwiki to the main wiki:

  • TableauDeBord
  • Main.A propos

For the Demandes subtree:

  • on the homepage of the demandes subtree, export everything to Excel and backup. Don't copy it to the main wiki!