195 pages are reporting an Unknown macro: 'unmigrated-wiki-markup' after upgrade.

We upgraded from Confluence 3.4 to 4.0. Some of our pages are reporting an Unknown macro: 'numigrated-wiki-markup'. I've found this page that describes why we're receiving this error http://confluence.atlassian.com/display/DOC/Wiki+Markup+to+XHTML+Migration. My first problem is that I'm not sure how to determine what macro those pages are using and how to determine if there's a compatible 4.0 macro that will fix the issue. My second problem is that the article says I should be able to view the page, I cannot. I only show the Unknown macro: 'unmigrated-wiki-markup' tag, no content. My third problem is I don't have a list of the problem pages. This page (unmigratedwikicontent.action) tells me that there's 195 pages with the problem. I don't need a number, I need a listing of the problem pages. Can someone help me get these pages working?

5 answers

1 accepted

3 votes
Answer accepted

Atlassian support found the problem! The Wiki-Markup-Plugin was disabled. Once I enabled that plugin I was able to see the offending markup and remove the problems.

2 votes
Joe Clark Atlassian Team Dec 19, 2011

Hi Matthew,

The unmigrated wiki markup macro is used to wrap content in Confluence pages that could not be converted to XHTML.

The fact that you are getting an error "Unknown macro: unmigrated-wiki-markup" leads me to believe that there was a problem with your upgrade to Confluence 4.0... the macro itself should have no problems, its the content within the macro that could not be migrated.

If you still have log files available from when you upgraded, it would be good to analayse them for problems or error message.

You should be able to get a list of unmigrated pages with this query:

SELECT contentid, title FROM CONTENT WHERE CONTENTID IN (SELECT CONTENTID FROM bodycontent WHERE BODY LIKE '%unmigrated-wiki-markup%') AND PREVVER IS NULL AND CONTENTTYPE IN ('PAGE','BLOGPOST') AND CONTENT_STATUS != 'deleted';

You can access the pages in the URL: <CONFLUENCE_URL>/pages/viewpage.action?pageId=<PAGE_ID>

And after removing the unknown/old macros directly editing the wiki markup just go to http://confluence.blobfish.pe/admin/unmigratedcontent.action

Same question here. Only the number of non-migrated pages is displayed (23 in my case, so not too much luckily), but no list of them.

Where do I look?

Same question here. Only the number of non-migrated pages is displayed (23 in my case, so not too many), but no list of them. Where do I look?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

570 views 2 13
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