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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published yesterday in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

109 views 2 4
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