Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Broken line breaks in import

Tero Heikkinen November 7, 2011

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
Answer accepted
Tero Heikkinen November 22, 2011

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 at David Simpson Apps
Atlassian Partner
November 7, 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.

Tero Heikkinen November 7, 2011

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
TAGS
AUG Leaders

Atlassian Community Events