Broken line breaks in import


I'm trying to migrate from mediawiki to latest confluence. I used univesal wiki converter to export my old wiki and convert exported pages to confluence format. I cannot use UWC to communicate with API because it's not compatible yet.

When I try to use import pages to space feature, it assumes that files are HTML or somehow things go wrong because I lose all line breaks. If I cat pagefile and copypaste confluence wiki markup to editor it works out.

Where's the problem and how to fix this import pages to space formatting issue?

2 answers

1 accepted

Problem was related to the fact that Confluence 4 in fact stores pages as XHTML. Solution was simple. Checking out UWC from svn and using bleeding edge version that supported Confluence 4. This issue will solve itself when time passes and there's new stable release of UWC that supports Confluence 4

0 vote
David Simpson Community Champion Nov 07, 2011

You could always try importing mediawiki into Confluence 3.5 using the UWC and then upgrade Confluence from 3.5 to 4.0.

Failing that, I'll defer to @Laura Kolker's superior knowledge.

I don't know if thats a possibility. If bought licence for Confluence 4.0. I debuged case bit further. It really seems that import page assumes that imported data is HTML instead of Confluence wiki markup. Bug or a feature ? :-)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

897 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you