Editing wiki markup

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 Community Champion 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
Community showcase
Published 7 hours ago in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

86 views 0 11
Read article

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