Wiki Migration
Last modified by Valdis Vitolins on 2024/07/05 18:02
![]() | Application to migrate XWiki documents from XWiki 1.0 syntax to XWiki 2.0 syntax |
Type | XAR |
Category | Application |
Developed by | Valdis Vitolins, Antons Cornijs, Vladislavs Sukelaits, Marija Isupova, Eduards Sidorovics, Kirils Belajevs |
Rating | |
License | GNU Lesser General Public License 2.1 |
Compatibility | XWiki 5.4 or higher |
Description
Set up
(Note that all links here refer to the localhost:8080 and will not work if there is no XWiki application working on your computer))
- Import file
- Go to http://localhost:8080/xwiki/bin/view/WikiMigration/WebHome
- Click on link migration code and adjust Groovy script for your needs.
Start migration
- Then go back to WikiMigration page.
- If there are any pages with XWiki 1.0 content then you will see number of old pages.
- You can migrate them by pressing Start migration button.
Check migration
- After migration you will see message which will inform you about successful migration and you will be able to check migrated pages by pressing Check pages button.
- If there are no pages with old XWiki 1.0 syntax then you will be able to check results of previous migration by pressing Check pages button.
- Open page CheckMigration
- All migrated pages will be displayed in frame. You can mark migrated page as good or bad.
- If there are some issues with page you can add comments.
- All pages will be located in special pages: AllPages, GoodPages and BadPages
Enjoy migrated content
Or, look at list of BadPages and fix these pages manually.
Screenshots
(Click on pictures to see in full size)
- Initial page:
- Groovy sript for pre- and post- fixes of built in wiki migration (using different search patterns):
- Actual migration page:
- Migration finish page:
- Migration checking page: