MediaWiki to Confluence Migration [closed]
Asked Answered
C

2

7

We are planning to migrate our existing MediaWiki site to Confluence. But when I searched about it, I came to know about the Universal Wiki Converter(UWC) tool, which is no longer supported or available. So, I am worried as to where to start and how to proceed. We have planned to export all the MediaWiki pages to XML and then import them to confluence.

So, my question here is whether this is a right approach and how can XML can be imported easily to Confluence?

Circumgyration answered 15/4, 2016 at 9:47 Comment(3)
Hey, did you tried this one: confluence.atlassian.com/display/DISC/… . Found at answers: answers.atlassian.com/questions/12265453/…Redman
@Redman thanks for the links.. Ya, i went through those links. since the uwc isnt supported anymore, i was wondering whether to proceed with the html conversion path.??Circumgyration
HTML conversion is a nightmare... I did not know UWC disappeared but this shows how Confluence tends to lock your data, why switch from an open data XML to something else? Anyway, you'll need to tell us how big a use of templates you make etc., to be able to answer.Multi
C
4

Use Markdown as the universal format for import/export. Markdown can be imported or exported to MediaWiki:

Markdown-Wiki

Simple tool for converting wiki 2 markdown and other way round.

Install

Tool expects that you have npm installed on your system.

npm install markdown-wiki

Usage

cat foo.wiki | markdown2wiki > foo.md

and Confluence can render Markdown:

Markdown for Confluence provides macros that render Markdown content on Confluence pages. The content can be entered directly in the body of a the markdown macro or be from an attachment or URL.

or Markdown can be converted to HTML and rendered by Confluence:

npm install markdown-html

markdown-html in.md -o out.html

XML export would require XSLT or some equivalent to convert from the MediaWiki XML Schema to the Confluence XML Schema, if the above is not a viable option.

References

Chivalry answered 1/11, 2016 at 16:16 Comment(1)
Where do I find the .wiki files? When I use the special export, it generates .xml files. Thanks.Dharana
I
0

Also it is not officially supported the UWC still works. I managed to migrate a moinmoin-wiki to confluence about a year ago. Still needed lots of manual tweaking and scripting as UWC is more a tool than a ready-to-use solution.

Start here: https://migrations.atlassian.net/wiki/spaces/UWC/overview

Source with build intructions: https://bitbucket.org/appfusions/universal-wiki-converter

Inapplicable answered 10/1, 2019 at 16:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.