Degraded performance Customers may experience intermittent errors using Community search. Our platform vendor is investigating.
We want to convert a Trac wiki (with > 3.600 pages) to Confluence by using the UWC. One of the problems we have is that the Trac wiki users have used the Include macro in Trac. I have tried to adapt the Trac properties so that the Include macro is translated to the include-page macro in Confluence. I have tried the following line:
As a result I get for the following simple source page:
Here another include: [[Include(a/a-1)]]
The following page in Confluence:
<p>Here another include: <ac:link><ri:page ri:content-title="a-1)" /></ac:link></p>
Has anyone any idea what is going wrong here? Is there such a thing as issue tracker for UWC? I did not find anything usefull here: https://bitbucket.org/appfusions/universal-wiki-converter
Here comes the solution to my own question:
So here is the correct rule:
So first, in the first line, the group was defined as ([^)]+), which means: match everything that is not a closing parantheses (not: bracket), and take that as the URL.
Second, define the rule before the doublebracket-links rule, so it can be replaced before.
The solution is not yet complete, because hierarchical page names ( like Include(a/a-1) ) should be replaced by the leaf of the hierarchy (here: a-1), so I have to adapt the regular expression, that I find the last title in the hierarchy.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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...
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!
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