Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Convert mediawiki to word documents

Leviya Bl November 3, 2017

I am trying to move a mediawiki site to confluence v5. Confluence now no longer support using the Universal Wiki Converter (UWC) for version 5. Confluence has advised that they accept "page and page tree imports in the form of Word Documents" or "Confluence Space Exports and Confluence Site Exports".

Therefore I need a way on converting the mediawiki pages into word documents, as well as retaining the structure.

Currently, I have used mediawiki's dumpBackup.phpto create an XML dump of my wiki. I then used a mediawikiXML_exporter.php. This created a exported_mediawiki_pages/directory containing all Pages, File, Categories, Projects, and Users. I checked and all my pages and these files contained mediawiki versions of all my pages and users etc, but stored as .txt files.

Given I cannot use UWC to upload this to confluence, is there a way to convert to a docx format so that I can upload into confluence?

P.S. I'm well aware I may be doing with the wrong approach so if there is a better way to do this from scratch, I'm open to any solution.

 

Thank you

1 answer

1 accepted

0 votes
Answer accepted
Mark Bereznitsky
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 24, 2019

Hey @Leviya Bl !

It is indeed quite unfortunate that there is no out of the box solution for migrating from MediaWiki to Confluence. Anecdotal evidence suggests that UWC might still work for newer versions of Confluence but I'd be careful and obviously do it on a staging environment first.

Here are some links that might help:

https://comtronic.com.au/how-to-migrate-pages-from-mediawiki-to-confluence/

https://community.atlassian.com/t5/Confluence-questions/Migrate-Mediawiki-gt-Confluence/qaq-p/84762

https://stackoverflow.com/questions/36643748/mediawiki-to-confluence-migration

 

I hope that this is of some help at least.
Thank you for enquiring! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events