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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,831 views 27 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