It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Editing wiki markup

Goncalo Goncalo Dec 05, 2015

I understand newer versions of confluence will no longer allow their users to manage markup directly. I have a use case that I haven't been able to overcome and was hoping to find some guidance. I have two confluence installations for different audiences, one from wiki1.com and other from wiki2.com. If I copy an article from wiki1 to wiki2, all the auto-generated links (anchors, toc, links, etc) from wiki1 will be kept without change in wiki2. If I copy the article into a text file, I also lose the links and any active html components/formating, which means I can no longer export/import articles from one wiki to another w/o some loss of metadata or accepting that I will have to make manual adjustments myself, whereas if I had the metadata, I could simply perform a search/replace.

My question is thusly: How can I perform a search/replace on the metadata in confluence on the wiki2, such that I can change the urls all at once? We're talking more than 100 links here, which is almost prohibitive to do manually)

Thanks!

p.s: The built-in search and replace does not work.

2 answers

A couple of things could help your use case:
  1. You can use Wiki Markup for Confluence and the wiki markup macro to continue to edit content using wiki markup.
  2. You can use the copyPage action from JIRA Command Line Interface (CLI) to copy pages and use the findReplace or findReplaceRegex parameters to change the target source during the copy.

 

0 votes
Stephen Deutsch Dec 06, 2015

I think it's not that they don't allow it anymore, it's just that the Confluence Source Editor plugin is not compatible yet, and they haven't committed sufficient developer time to get it working yet.

Anyways, until they can fix it, there is an option to update the XHMTL markup manually via the API.  You can find the procedure in this answer:

https://answers.atlassian.com/questions/32968525

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

950 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you