Broken line breaks in import

Hi!

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

0 votes
Accepted answer

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 votes
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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

954 views 13 11
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