CONF 4.3.x: Converting wiki-markup table-plus macro to native/bundled 4.3.x table

Can anyone offer some advice. I'm attempting to convert 3rd party "table-plus" macro which works under 4.3.1 when placed within the wiki markup macro. Typically we used this for simple table sorting which is now a default feature of the native (bundled) table macro in 4.3.x

Unmodified, and housed within the Conflunce 4.x "insert wiki markup" macro, the table-plus macro looks like:

{wiki-markup}
  {table-plus:sortColumn=1}
   || Name || Phone  ||
   |  John | 555-1234 |
   |  Mary | 555-2134 |
   |  Bob  | 555-4527 |
  {table-plus}
{wiki-markup}

My intial thought was to remove the {table-plus} macro command, and then apply the "wikiToXhtmlMigrationUpgradeTask" (<Confluence Address>/admin/force-upgrade.action) to upgrade the wiki markup table notation to XHTML. The change before runign the XHTML conversion looks like:

{wiki-markup}
   || Name || Phone  ||
   |  John | 555-1234 |
   |  Mary | 555-2134 |
   |  Bob  | 555-4527 |
{wiki-markup}

However, after running "wikiToXhtmlMigrationUpgradeTask" the page remains unchanged (my table notation is still encapsulated within the wiki markup macro).

What's confusing me is that when upgrading from 3.x to 4.x this type of table wiki markup was converted automatically as part of the upgrade process. I also stopped and restarted confluence (wondering if pages were checked/changed on startup), but there was no change.

Am i missing somthing obvious?

Gavin.

1 answer

1 accepted

This widget could not be displayed.

Cut/copy the table wiki markup and then use Insert -> wiki markup and then paste in the markup.

Hey Bob, many thanks for this tip, this works perfectly! For the record I'll be continuing to use {table-plus} just for more complex use cases.

Obviously a cut/paste solution doesn't scale for more than a few pages.

I have the same question, manual migration is not an option in our instance.

Does anybody have an idea how to do an automated migration? We use Confluence 5.5.4 and Advances Tables Macro 6.5.

Thanks a lot! Michael

Steven Behnke Community Champion Aug 07, 2014

Off the top of my head you could have someone script some actions in their favorite flavor of software. Install the Confluence Source Editor, load up the pages you want to edit, and replace the appropriate xhtml text elements (opening and closing tags) with the new ones. I haven't done something like that here but it should be simple to pull off.

https://confluence.atlassian.com/display/DOC/Migration+from+Wiki+Markup+to+XHTML-Based+Storage+Format

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

542 views 7 6
Join discussion

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